LambdaAddDestinationConfig

Description

Adds target resources that will be invoked asynchronously based on the return status of a specified lambda function. See Introducing AWS Lambda Destinations for more information.

Resources

AWS::Lambda::EventInvokeConfig

Input

lambdaFunction

Logical ID of AWS::Lambda::Function whose return status will be used to select a destination resource to invoke.

onSuccessDestination

Logical ID of CloudFormation resource that will be asynchronously invoked if the specified source lambda function returns success status

Currently support 4 types of resources:

AWS::Events::Eventbus (see Output section of LambdaDestinationEventBridge)

AWS::Lambda::Function (see Output section of LambdaDestinationLambda)

AWS::SNS::Topic (see Output section of LambdaDestinationSNS)

AWS::SQS::Queue (see Output section of LambdaDestinationSQS)

onFailureDestination

Logical ID of CloudFormation resource that will be asynchronously invoked if the specified source lambda function returns failure status.

AWS::Events::Eventbus (see Output section of LambdaDestinationEventBridge)

AWS::Lambda::Function (see Output section of LambdaDestinationLambda)

AWS::SNS::Topic (see Output section of LambdaDestinationSNS)

AWS::SQS::Queue (see Output section of LambdaDestinationSQS)

Output

None