@Stability(value=Stable) public static final class EventBusProps.Builder extends Object implements software.amazon.jsii.Builder<EventBusProps>
EventBusProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EventBusProps |
build()
Builds the configured instance.
|
EventBusProps.Builder |
deadLetterQueue(IQueue deadLetterQueue)
Sets the value of
EventBusProps.getDeadLetterQueue() |
EventBusProps.Builder |
role(IRole role)
Sets the value of
EventBusProps.getRole() |
@Stability(value=Stable) public EventBusProps.Builder deadLetterQueue(IQueue deadLetterQueue)
EventBusProps.getDeadLetterQueue()deadLetterQueue - The SQS queue to be used as deadLetterQueue. Check out the [considerations for using a dead-letter queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html#dlq-considerations).
The events not successfully delivered are automatically retried for a specified period of time,
depending on the retry policy of the target.
If an event is not delivered before all retry attempts are exhausted, it will be sent to the dead letter queue.this@Stability(value=Stable) public EventBusProps.Builder role(IRole role)
EventBusProps.getRole()role - Role to be used to publish the event.this@Stability(value=Stable) public EventBusProps build()
build in interface software.amazon.jsii.Builder<EventBusProps>EventBusPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.