Class CfnEventSourcePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eventsv2.CfnEventSourcePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourcePropsMixin>
- Enclosing class:
CfnEventSourcePropsMixin
@Stability(Stable)
public static final class CfnEventSourcePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourcePropsMixin>
A fluent builder for
CfnEventSourcePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Event source configuration.configuration(IResolvable configuration) Event source configuration.create()create(CfnPropertyMixinOptions options) description(String description) A description of the event source.eventBusArn(String eventBusArn) The ARN of the custom event bus the event source forwards onto.The name of the event source.The tags assigned to the event source.
-
Method Details
-
create
@Stability(Stable) public static CfnEventSourcePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnEventSourcePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnEventSourcePropsMixin.Builder.
-
configuration
Event source configuration.Exactly one of the two variants must be set.
- Parameters:
configuration- Event source configuration. This parameter is required.- Returns:
this- See Also:
-
configuration
@Stability(Stable) public CfnEventSourcePropsMixin.Builder configuration(CfnEventSourcePropsMixin.EventSourceConfigurationProperty configuration) Event source configuration.Exactly one of the two variants must be set.
- Parameters:
configuration- Event source configuration. This parameter is required.- Returns:
this- See Also:
-
description
A description of the event source.Control characters and Unicode line separators are not allowed.
- Parameters:
description- A description of the event source. This parameter is required.- Returns:
this- See Also:
-
eventBusArn
The ARN of the custom event bus the event source forwards onto.- Parameters:
eventBusArn- The ARN of the custom event bus the event source forwards onto. This parameter is required.- Returns:
this- See Also:
-
name
The name of the event source.The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'. Names cannot begin with the reserved aws. prefix.
- Parameters:
name- The name of the event source. This parameter is required.- Returns:
this- See Also:
-
tags
The tags assigned to the event source.- Parameters:
tags- The tags assigned to the event source. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventSourcePropsMixin>- Returns:
- a newly built instance of
CfnEventSourcePropsMixin.
-