---
title: "Connecting Lambda to API Gateway - Air Market"
description: "You have a function that works, and now it needs to answer web requests. This wires it up to an API, including the resources and methods, the permissions, and the deployment. It also handles the bits…"
canonical: "https://airmarket.ai/app/connecting-lambda-to-api-gateway"
---

[Air Market](/) / [IT & Ops](/category/ops) / Connecting Lambda to API Gateway

Skill by [Amazon Web Services](/@aws)

# Connecting Lambda to API Gateway

Give an existing function a real HTTP front door

## What this does

You have a function that works, and now it needs to answer web requests. This wires it up to an API, including the resources and methods, the permissions, and the deployment. It also handles the bits that are easy to forget, like cross-origin settings, request limits and access logs.

### Top 3 things it does for you

- Put a REST or HTTP API in front of a function
- Set up the resources, methods and proxy integration
- Get CORS and permissions right the first time

## Information

**Connecting Lambda to API Gateway at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [Amazon Web Services](/@aws) |
| Category | [IT & Ops](/category/ops) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Version | 1 |
| Size | 12 KB |
| Licence | Apache-2.0 |
| Repository | [aws/agent-toolkit-for-aws](https://github.com/aws/agent-toolkit-for-aws/tree/14780bf3440aa1532eadfbb2ff547f58969fcfb2/skills/specialized-skills/serverless-skills/connecting-lambda-to-api-gateway) |
| GitHub stars | 2,420 (as of Nov 2026) |
| Installs | 7,071, counted by skills.sh (Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of Connecting Lambda to API Gateway and flagged nothing. AIR's verdict: **safe**.

**What Connecting Lambda to API Gateway's check was run against**

|  |  |
| --- | --- |
| Commit | 14780bf3440aa1532eadfbb2ff547f58969fcfb2 |
| Content hash | 2fc77f5e0b5c937d3b9801a7ba41dbce840b55159bca3e582f7213474705d2f9 |
| Files read | [Browse the files at this exact commit](https://github.com/aws/agent-toolkit-for-aws/blob/14780bf3440aa1532eadfbb2ff547f58969fcfb2/skills/specialized-skills/serverless-skills/connecting-lambda-to-api-gateway/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for Connecting Lambda to API Gateway](/security/connecting-lambda-to-api-gateway)

## About Connecting Lambda to API Gateway

Connects an existing AWS Lambda function to Amazon API Gateway by creating a REST or HTTP API, with resource and method setup, Lambda proxy integration, permissions, and deployment.

It is meant to be used whenever you connect Lambda to API Gateway, because it also handles CORS, throttling, access logging and production security hardening, all of which are easy to miss.

## What's inside

- SKILL.md - instructions
- references/lambda-gateway-api.md - reference

## Questions

### Is Connecting Lambda to API Gateway safe to install?

AIR scanned this exact version of Connecting Lambda to API Gateway and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 14780bf3440a, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/connecting-lambda-to-api-gateway.

### How do I install Connecting Lambda to API Gateway?

Open https://airmarket.ai/app/connecting-lambda-to-api-gateway on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/aws/agent-toolkit-for-aws/tree/14780bf3440aa1532eadfbb2ff547f58969fcfb2/skills/specialized-skills/serverless-skills/connecting-lambda-to-api-gateway. Install from that link, not the branch.

## Related on Air Market

- [More IT & Ops listings](/category/ops)
- [Everything by Amazon Web Services](/@aws)

---

Canonical URL: <https://airmarket.ai/app/connecting-lambda-to-api-gateway>
