@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.274Z") @Stability(value=Stable) public interface CfnEventBusProps 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.events.*;
CfnEventBusProps cfnEventBusProps = CfnEventBusProps.builder()
.name("name")
// the properties below are optional
.eventSourceName("eventSourceName")
.tags(List.of(TagEntryProperty.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEventBusProps.Builder
A builder for
CfnEventBusProps |
static class |
CfnEventBusProps.Jsii$Proxy
An implementation for
CfnEventBusProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnEventBusProps.Builder |
builder() |
default String |
getEventSourceName()
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
|
String |
getName()
The name of the new event bus.
|
default List<CfnEventBus.TagEntryProperty> |
getTags()
Tags to associate with the event bus.
|
@Stability(value=Stable) @NotNull String getName()
Event bus names cannot contain the / character. You can't use the name default for a custom event bus, as this name is already used for your account's default event bus.
If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
@Stability(value=Stable) @Nullable default String getEventSourceName()
@Stability(value=Stable) @Nullable default List<CfnEventBus.TagEntryProperty> getTags()
@Stability(value=Stable) static CfnEventBusProps.Builder builder()
CfnEventBusProps.Builder of CfnEventBusPropsCopyright © 2022. All rights reserved.