@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.304Z") @Stability(value=Stable) public interface EventBusProps extends software.amazon.jsii.JsiiSerializable
Example:
EventBus bus = EventBus.Builder.create(this, "bus")
.eventBusName("MyCustomEventBus")
.build();
bus.archive("MyArchive", BaseArchiveProps.builder()
.archiveName("MyCustomEventBusArchive")
.description("MyCustomerEventBus Archive")
.eventPattern(EventPattern.builder()
.account(List.of(Stack.of(this).getAccount()))
.build())
.retention(Duration.days(365))
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
EventBusProps.Builder
A builder for
EventBusProps |
static class |
EventBusProps.Jsii$Proxy
An implementation for
EventBusProps |
| Modifier and Type | Method and Description |
|---|---|
static EventBusProps.Builder |
builder() |
default String |
getEventBusName()
The name of the event bus you are creating Note: If 'eventSourceName' is passed in, you cannot set this.
|
default String |
getEventSourceName()
The partner event source to associate with this event bus resource Note: If 'eventBusName' is passed in, you cannot set this.
|
@Stability(value=Stable) @Nullable default String getEventBusName()
Default: - automatically generated name
@Stability(value=Stable) @Nullable default String getEventSourceName()
Default: - no partner event source
@Stability(value=Stable) static EventBusProps.Builder builder()
EventBusProps.Builder of EventBusPropsCopyright © 2022. All rights reserved.