AWS::Events::Rule DeadLetterConfig - AWS CloudFormation

AWS::Events::Rule DeadLetterConfig

A DeadLetterConfig object that contains information about a dead-letter queue configuration.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Arn" : String }

YAML

Arn: String

Properties

Arn

The ARN of the SQS queue specified as the target for the dead-letter queue.

Required: No

Type: String

Minimum: 1

Maximum: 1600

Update requires: No interruption

Examples

Set the DeadLetterConfig parameter

The following example sets the DeadLetterConfig parameter to set up arn:aws:sqs:us-west-2:081035103721:demoDLQ as a dead-letter queue.

JSON

"DeadLetterConfig": { "Arn": "arn:aws:sqs:us-west-2:081035103721:demoDLQ" }

YAML

DeadLetterConfig: Arn: 'arn:aws:sqs:us-west-2:081035103721:demoDLQ'