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

Amazon SQS RedrivePolicy

The RedrivePolicy type is a property of the AWS::SQS::Queue resource.

Syntax

JSON

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

YAML

Copy
deadLetterTargetArn: String maxReceiveCount: Integer

Properties

deadLetterTargetArn

The Amazon Resource Name (ARN) of the dead letter queue to which the messages are sent to after the maxReceiveCount value has been exceeded.

Required: Yes

Type: String

maxReceiveCount

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

Required: Yes

Type: Integer