You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an SNS type of event source mapping for an AWS::Serverless::Function resource, one is able to specify an object to the SqsSubscription property. This enables batching SNS topic notifications in an SQS queue. Essentially this creates an SNS Subscription with the queue being the subscriber.
However, the SqsSubscription property object does not have a property to set a DLQ for this SNS subscription, like you can set in an AWS::SNS::Subscription resource by using the RedrivePolicy property.
Proposal
I propose that a RedrivePolicy property is added to the SNS event source mapping type of an AWS::Serverless::Function resource. A possible example can be seen below:
Describe your idea/feature/enhancement
When using an
SNS
type of event source mapping for anAWS::Serverless::Function
resource, one is able to specify an object to theSqsSubscription
property. This enables batching SNS topic notifications in an SQS queue. Essentially this creates an SNS Subscription with the queue being the subscriber.However, the
SqsSubscription
property object does not have a property to set a DLQ for this SNS subscription, like you can set in anAWS::SNS::Subscription
resource by using theRedrivePolicy
property.Proposal
I propose that a
RedrivePolicy
property is added to theSNS
event source mapping type of anAWS::Serverless::Function
resource. A possible example can be seen below:The text was updated successfully, but these errors were encountered: