LambdaBackedApiGatewayApi

Description

Creates a data flow lambda function that returns a JSON object response in the format expected by API Gateway.

Resources

AWS::Lambda::Function

There must be a circuit panel with the same name as the user id of this resource which defines the logic of a lambda function.

AWS::IAM::Role

Lambda function execution role

Least-privilege IAM policy statements required for executing a lambda function are automatically included in the IAM role by Coreograph.

Input

None

Output

LambdaFunction

Logical ID of lambda function resource AWS::Lambda::Function created by this pattern.

LambdaFunctionRole

Logical ID of IAM role resource AWS::IAM::Role created by this pattern.