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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnChannelProps
static final class
An implementation forCfnChannelProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnChannelProps.Builder
builder()
default Object
One or more event data stores to which events arriving through a channel will be logged.default String
getName()
The name of the channel.default String
The 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
Custom
for 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.Builder
ofCfnChannelProps
-