@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:52.290Z")
public interface DeadLetterQueue
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sqs.*; Queue queue; DeadLetterQueue deadLetterQueue = DeadLetterQueue.builder() .maxReceiveCount(123) .queue(queue) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
DeadLetterQueue.Builder
A builder for
DeadLetterQueue |
static class |
DeadLetterQueue.Jsii$Proxy
An implementation for
DeadLetterQueue |
Modifier and Type | Method and Description |
---|---|
static DeadLetterQueue.Builder |
builder() |
java.lang.Number |
getMaxReceiveCount()
The number of times a message can be unsuccesfully dequeued before being moved to the dead-letter queue.
|
IQueue |
getQueue()
The dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.
|
java.lang.Number getMaxReceiveCount()
IQueue getQueue()
static DeadLetterQueue.Builder builder()
DeadLetterQueue.Builder
of DeadLetterQueue