Interface DeadLetterQueue
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DeadLetterQueue.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.035Z")
@Stability(Stable)
public interface DeadLetterQueue
extends software.amazon.jsii.JsiiSerializable
Dead letter queue settings.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forDeadLetterQueue
static final class
An implementation forDeadLetterQueue
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeadLetterQueue.Builder
builder()
The number of times a message can be unsuccesfully dequeued before being moved to the dead-letter queue.getQueue()
The dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxReceiveCount
The number of times a message can be unsuccesfully dequeued before being moved to the dead-letter queue. -
getQueue
The dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded. -
builder
- Returns:
- a
DeadLetterQueue.Builder
ofDeadLetterQueue
-