@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
21 lines (20 loc) • 961 B
TypeScript
/**
* The string that includes 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:
* http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html.
*/
export interface RedrivePolicy {
/**
* The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of
* `maxReceiveCount` is exceeded.
*/
deadLetterTargetArn: string;
/**
* The number of times a message is delivered to the source queue before being moved to the dead-letter queue.
*
* Note: The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead-letter queue of a
* standard queue must also be a standard queue.
*/
maxReceiveCount: number;
}