LambdaBackedApiGatewayApiTransparency

Description

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

Resources

AWS::Lambda::Function

There must be a text 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 NOT included in the IAM role by Coreograph. You need to manually specify it via IAMPolicyStatements input parameter.

Input

IAMPolicyStatements

IAM policy statement to attach to the lambda execution role.

EnvironmentVariables

Environment variables (map of string) that are accessible from function code during execution.

LambdaHandlerName

The name of the method within your code that Lambda calls to execute your function. Must be a valid Cloudformation syntax that resolves to a string. This parameter is ignored by the pattern. ## 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.