ApiGatewayCustomAuthorizer

Description

Creates a custom authorizer (also known as Lambda authorizer) for HTTP API. See Working with AWS Lambda authorizers for HTTP APIs for more information and CustomAuthorizer as example on how to use this pattern.

Resources

AWS::ApiGatewayV2::Authorizer

AWS::Lambda::Permission

Input

AuthorizerName

The name of the authorizer. Must be a valid Cloudformation syntax that resolves to a string.

ApiGatewayHttpApi

Logical ID of AWS::ApiGatewayV2::API resource.

LambdaFunction

Logical ID of AWS::Lambda::Function resource that implements the custom authorizer logic (See CustomAuthorizer Example).

ApiGatewayRoute

Logical ID of AWS::ApiGatewayV2::Route resource to associate with the custom authorizer.

Output

None