This template creates a custom authorizer for AWS API Gateway. The authorizer is an AWS Lambda function that is activated for methods with authorization enabled. The template sets the properties for the authorizer, including the authorizer credentials, result TTL in seconds, authorizer URI, type, identity source, name, and REST API ID.

CloudFormation Template