
connecting-lambda-to-api-gateway
Connects an existing AWS Lambda function to Amazon API Gateway
by awsFree
Description
Connecting Lambda to API Gateway is a skill for putting an HTTP interface in front of an existing AWS Lambda function. It creates an Amazon API Gateway REST API, sets up the resources and methods, and wires them to the function with Lambda proxy integration. It also covers CORS configuration, security controls, deployment and testing. The authorization type can be NONE, AWS_IAM, COGNITO_USER_POOLS or CUSTOM, and API keys can be required. For production use, the procedure adds hardening such as throttling and access logging. The skill follows a defined procedure for the connection and includes a troubleshooting section. It is for developers who already have a Lambda function and want to expose it as an API. It is delivered as instructions for a coding agent that makes the changes in your AWS account, so the work runs under the permissions you provide.…
Highlights
- REST API with Lambda proxy integration
- Authorization types including IAM and Cognito
- CORS setup and deployment
- Throttling and access logging for production
Ratings & Reviews
No ratings yet
Be the first to rate connecting-lambda-to-api-gateway.
People also visit

aws-lambda-python-integration
Provides AWS Lambda integration patterns for Python with cold start optimization

enabling-lambda-vpc-internet-access
Enables internet access for AWS Lambda functions deployed in VPC subnets

aws-serverless
Routes serverless requests to a compute form factor and the skill that owns it
connecting-lambda-to-api-gateway FAQ
What does the skill set up?
A REST API in Amazon API Gateway, with resources and methods wired to an existing Lambda function through proxy integration.
Which authorization types are supported?
NONE, AWS_IAM, COGNITO_USER_POOLS and CUSTOM, with optional API keys.
How do I install it?
Run npx skills add https://github.com/aws/agent-toolkit-for-aws --skill connecting-lambda-to-api-gateway in your project.
What did the security audits show?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best connecting-lambda-to-api-gateway alternatives?
Popular alternatives to connecting-lambda-to-api-gateway include deploying-custom-domain-rest-api, connecting-lambda-to-dynamodb and aws-lambda-python-integration. See all connecting-lambda-to-api-gateway alternatives

