AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon SQS RedrivePolicy

The RedrivePolicy type is a property of the AWS::SQS::Queue resource. A redrive policy defines the parameters for the dead letter queue functionality of the source queue. For more information about the redrive policy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon Simple Queue Service Developer Guide.



{ "deadLetterTargetArn" : String, "maxReceiveCount" : Integer }


deadLetterTargetArn: String maxReceiveCount: Integer



The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.

Required: Yes

Type: String


The number of times a message is delivered to the source queue before being moved to the dead-letter queue.

Required: Yes

Type: Integer

On this page: