LambdaAddEventSourceHttpApi

Description

Creates a mapping between an API Gateway HTTP API (as event source) and a Lambda function (as event target).

Resources

AWS::ApiGatewayV2::Integration

AWS::ApiGatewayV2::Route

AWS::Lambda::Permission

Input

ApiGatewayApi

Logical ID of AWS::ApiGatewayV2::Api resource (event source).

LambdaFunction

Logical ID of AWS::Lambda::Function resource (event target).

RouteKey

The route key for the route that triggers a specified lambda function. For HTTP APIs, the route key can be either $default, or a combination of an HTTP method and resource path, for example, GET /pets. Must be a valid Cloudformation syntax that resolves to a string.

Output

None