@Stability(value=Stable) public static final class CfnEventBus.Builder extends Object implements software.amazon.jsii.Builder<CfnEventBus>
CfnEventBus.| Modifier and Type | Method and Description |
|---|---|
CfnEventBus |
build() |
static CfnEventBus.Builder |
create(software.constructs.Construct scope,
String id) |
CfnEventBus.Builder |
eventSourceName(String eventSourceName)
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
|
CfnEventBus.Builder |
name(String name)
The name of the new event bus.
|
CfnEventBus.Builder |
tags(List<? extends CfnEventBus.TagEntryProperty> tags)
Tags to associate with the event bus.
|
@Stability(value=Stable) public static CfnEventBus.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnEventBus.TagEntryProperty.Builder.@Stability(value=Stable) public CfnEventBus.Builder name(String name)
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.
name - The name of the new event bus. This parameter is required.this@Stability(value=Stable) public CfnEventBus.Builder eventSourceName(String eventSourceName)
eventSourceName - If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with. This parameter is required.this@Stability(value=Stable) public CfnEventBus.Builder tags(List<? extends CfnEventBus.TagEntryProperty> tags)
tags - Tags to associate with the event bus. This parameter is required.this@Stability(value=Stable) public CfnEventBus build()
build in interface software.amazon.jsii.Builder<CfnEventBus>Copyright © 2022. All rights reserved.