LambdaDestinationSQS
Description
Specifies an SQS queue as a lambda destination target. A message will be sent to a specified SQS queue depending on the return status of a lambda function whose IAM role is passed to this pattern.
Resources
AWS::IAM::Policy
An IAM policy that grant SQS SendMessage permission to a specified IAM role
Input
LambdaRole
Logical ID of AWS::IAM::Role
corresponding to a lambda function whose return status will be used to decide whether to send a message to a specified SQS queue.
SQSQueue
Logical ID of AWS::SQS::Queue
to receive a message.
Output
SQSDestination
CloudFormation syntax that resolves to an ARN of a specified target SQS queue resource. This output is normally used as onSuccessDestination and/or onFailureDestination input to the LambdaAddDestinationConfig pattern