Interface CfnChannelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannelProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.871Z")
@Stability(Stable)
public interface CfnChannelProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnChannel.
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.cloudtrail.*;
CfnChannelProps cfnChannelProps = CfnChannelProps.builder()
.destinations(List.of(DestinationProperty.builder()
.location("location")
.type("type")
.build()))
.name("name")
.source("source")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnChannelPropsstatic final classAn implementation forCfnChannelProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnChannelProps.Builderbuilder()default ObjectOne or more event data stores to which events arriving through a channel will be logged.default StringgetName()The name of the channel.default StringThe name of the partner or external event source.getTags()A list of tags.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinations
One or more event data stores to which events arriving through a channel will be logged. -
getName
The name of the channel. -
getSource
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. -
getTags
A list of tags. -
builder
- Returns:
- a
CfnChannelProps.BuilderofCfnChannelProps
-