Lightlines
By aws

connecting-lambda-to-api-gateway

aws5.9k installs

Give your Lambda function a secured HTTP endpoint.

What it does

Creates a deployed REST API that lets HTTP requests invoke an existing AWS Lambda function.

When to use it

Use when connecting an existing Lambda function to API Gateway.

How to use it

Give it an existing Lambda function name and a new API name; it creates a REST API connected to that function.

What you provide

  • the existing Lambda function name
  • the new API name

Uses

Latest review

What you need · 1

Requires an existing, accessible Lambda function; the procedure aborts if it does not exist.


Access · 2

This skill

Amazon API Gateway

Execute

Deploys your API Gateway endpoint

Write

Creates your API Gateway endpoint

AWS Lambda

Execute

Test invokes your Lambda function

Write

Grants API Gateway invocation permission