connecting-lambda-to-api-gateway

Automate connecting AWS Lambda functions to Amazon API Gateway REST APIs.

2|Updated May 15, 2026
One-click install
npx skills add https://github.com/mashharuki/floci-sample --skill connecting-lambda-to-api-gateway-mashharuki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: connecting-lambda-to-api-gateway
Source: https://github.com/mashharuki/floci-sample/tree/main/.agents/skills/connecting-lambda-to-api-gateway
Command: npx skills add https://github.com/mashharuki/floci-sample --skill connecting-lambda-to-api-gateway-mashharuki

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of connecting AWS Lambda functions to Amazon API Gateway, creating a REST or HTTP API with necessary setup, including CORS, throttling, access logging, and production security hardening.

Core Features & Use Cases

  • Automated API Gateway Creation: Generates a REST API and integrates it with an existing Lambda function.
  • Lambda Integration: Configures Lambda proxy integration and sets up permissions and deployment.
  • Security & Logging: Ensures CORS configuration, access logging, and security hardening are in place.
  • Use Case: For developers or DevOps professionals needing to quickly set up and secure a serverless architecture using AWS Lambda and API Gateway.

Quick Start

Connect the Lambda function 'my-lambda-function' to the API Gateway 'my-rest-api' using the connecting-lambda-to-api-gateway skill.

Frequently Asked Questions about connecting-lambda-to-api-gateway

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect AWS Lambda to API Gateway for a serverless REST API?

To connect AWS Lambda to API Gateway, this Skill automates REST API creation and configures Lambda proxy integration, permissions, and deployment for serverless architectures. It generates the necessary resources and handles the integration setup automatically.

What is the best way to automate API Gateway creation for an existing Lambda function?

Automating API Gateway creation for an existing Lambda function involves generating a REST API, configuring Lambda proxy integration, and setting up deployment permissions. This Skill handles these steps automatically to streamline serverless architecture setup.

Does this API Gateway and Lambda integration handle CORS and throttling settings?

Yes, this API Gateway and Lambda integration handles CORS configuration, throttling, and access logging settings. It ensures production security hardening is in place when connecting your serverless functions to the API endpoint.

Can I configure API keys and authorization for AWS Lambda connected to API Gateway?

Yes, you can configure API keys and authorization for AWS Lambda connected to API Gateway. This Skill supports security settings including authorization and API key configurations to secure your serverless REST API endpoints.

Do I need an existing AWS Lambda function before setting up API Gateway integration?

Yes, you need an existing AWS Lambda function before setting up API Gateway integration. This Skill connects to a specified existing Lambda function to generate the REST API and apply security hardening, CORS, and logging configurations.