Skip to main content

Specify a Redrive policy for your SNS subscription

You can configure the redrive policy on an Amazon SNS subscription. If SNS cannot deliver the message after the number of attempts set in its delivery policy, SNS will send it to the dead-letter queue specified in the redrive policy.

A dead letter queue is a queue for you to put error message and handle manually or automatically.

See AWS Documentation about sns redrive policy

Suggested Actions:

  • Example in cdk
const snsSubscription = new Subscription('snsSubscription', {
deadLetterQueue: myDlq,
});