DeadLetterQueue

class aws_cdk.aws_sqs.DeadLetterQueue(*, max_receive_count, queue)

Bases: object

__init__(*, max_receive_count, queue)

Dead letter queue settings.

Parameters
  • max_receive_count (Union[int, float]) – The number of times a message can be unsuccesfully dequeued before being moved to the dead-letter queue.

  • queue (IQueue) – The dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.

Return type

None

Attributes

max_receive_count

The number of times a message can be unsuccesfully dequeued before being moved to the dead-letter queue.

Return type

Union[int, float]

queue

The dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.

Return type

IQueue