This template creates a Lambda function with error handling and destination configuration. It also creates a version of the function and configures an event invoke configuration for asynchronous invocation. The function is written in Node.js and has a tracing configuration set to active. The event invoke configuration specifies a destination for both success and failure cases, sets a maximum event age of 300 seconds, a maximum retry attempts of 1, and uses the version as the qualifier.

Function
AWS::Lambda::Function


Code *
TracingConfig

Version
AWS::Lambda::Version


AsyncConfig
AWS::Lambda::EventInvokeConfig


DestinationConfig
OnFailure
OnSuccess

CloudFormation Template

Share Template