@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.271Z") @Stability(value=Stable) public interface DeadLetterQueue extends software.amazon.jsii.JsiiSerializable
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() |
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.
|
@Stability(value=Stable) @NotNull Number getMaxReceiveCount()
@Stability(value=Stable) @NotNull IQueue getQueue()
@Stability(value=Stable) static DeadLetterQueue.Builder builder()
DeadLetterQueue.Builder of DeadLetterQueueCopyright © 2022. All rights reserved.