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.
Syntax
JSON
{ "deadLetterTargetArn" :String, "maxReceiveCount" :Integer}
YAML
deadLetterTargetArn:StringmaxReceiveCount:Integer
Properties
deadLetterTargetArn-
The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of
maxReceiveCountis exceeded.Required: Yes
Type: String
maxReceiveCount-
The number of times a message is delivered to the source queue before being moved to the dead-letter queue.
Required: Yes
Type: Integer
