Modifier and Type | Method and Description |
---|---|
EventBus |
build() |
static EventBus.Builder |
create(software.constructs.Construct scope,
String id) |
EventBus.Builder |
eventBusName(String eventBusName)
The name of the event bus you are creating Note: If 'eventSourceName' is passed in, you cannot set this.
|
EventBus.Builder |
eventSourceName(String eventSourceName)
The partner event source to associate with this event bus resource Note: If 'eventBusName' is passed in, you cannot set this.
|
@Stability(value=Stable) public static EventBus.Builder create(software.constructs.Construct scope, String id)
scope
- This parameter is required.id
- This parameter is required.EventBus.Builder
.@Stability(value=Stable) public EventBus.Builder eventBusName(String eventBusName)
Default: - automatically generated name
eventBusName
- The name of the event bus you are creating Note: If 'eventSourceName' is passed in, you cannot set this. This parameter is required.this
@Stability(value=Stable) public EventBus.Builder eventSourceName(String eventSourceName)
Default: - no partner event source
eventSourceName
- The partner event source to associate with this event bus resource Note: If 'eventBusName' is passed in, you cannot set this. This parameter is required.this
Copyright © 2022. All rights reserved.