Class CfnChannelPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudtrail.CfnChannelPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin>
- Enclosing class:
CfnChannelPropsMixin
@Stability(Stable)
public static final class CfnChannelPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin>
A fluent builder for
CfnChannelPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnChannelPropsMixin.Buildercreate()static CfnChannelPropsMixin.Buildercreate(CfnPropertyMixinOptions options) destinations(List<? extends Object> destinations) One or more event data stores to which events arriving through a channel will be logged.destinations(IResolvable destinations) One or more event data stores to which events arriving through a channel will be logged.The name of the channel.The name of the partner or external event source.A list of tags.
-
Method Details
-
create
@Stability(Stable) public static CfnChannelPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnChannelPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnChannelPropsMixin.Builder.
-
destinations
One or more event data stores to which events arriving through a channel will be logged.- Parameters:
destinations- One or more event data stores to which events arriving through a channel will be logged. This parameter is required.- Returns:
this- See Also:
-
destinations
@Stability(Stable) public CfnChannelPropsMixin.Builder destinations(List<? extends Object> destinations) One or more event data stores to which events arriving through a channel will be logged.- Parameters:
destinations- One or more event data stores to which events arriving through a channel will be logged. This parameter is required.- Returns:
this- See Also:
-
name
The name of the channel.- Parameters:
name- The name of the channel. This parameter is required.- Returns:
this- See Also:
-
source
The name of the partner or external event source.You cannot change this name after you create the channel. A maximum of one channel is allowed per source.
A source can be either
Customfor all valid non- AWS events, or the name of a partner event source. For information about the source names for available partners, see Additional information about integration partners in the CloudTrail User Guide.- Parameters:
source- The name of the partner or external event source. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tags.- Parameters:
tags- A list of tags. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin>- Returns:
- a newly built instance of
CfnChannelPropsMixin.
-