@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-20T22:19:57.702Z")
public interface EventBusProps
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 java.lang.String |
getEventBusName()
The name of the event bus you are creating Note: If 'eventSourceName' is passed in, you cannot set this.
|
default java.lang.String |
getEventSourceName()
The partner event source to associate with this event bus resource Note: If 'eventBusName' is passed in, you cannot set this.
|
default java.lang.String getEventBusName()
Default: - automatically generated name
default java.lang.String getEventSourceName()
Default: - no partner event source
static EventBusProps.Builder builder()
EventBusProps.Builder
of EventBusProps