LambdaDestinationSNS
Description
Specifies an SNS topic as a lambda destination target. A message will be published to a specified SNS topic depending on the return status of a lambda function whose IAM role is passed to this pattern.
Input
LambdaRole
Logical ID of AWS::IAM::Role
corresponding to a lambda function whose return status will be used to decide whether to publish a message to a specified SNS topic.
SNSTopic
Logical ID of AWS::SNS::Topic
to receive a message.
Output
SNSDestination
CloudFormation syntax that resolves to an ARN of specified target SNS topic resource. This output is normally used as onSuccessDestination and/or onFailureDestination input to the LambdaAddDestinationConfig pattern