Interface DeadLetterQueue
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DeadLetterQueue.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:49.126Z")
@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 classA builder forDeadLetterQueuestatic final classAn implementation forDeadLetterQueue -
Method Summary
Modifier and TypeMethodDescriptionstatic DeadLetterQueue.Builderbuilder()The number of times a message can be unsuccessfully 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 unsuccessfully 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.BuilderofDeadLetterQueue
-