@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.320Z") @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 © 2021. All rights reserved.