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();
 
  • Method Details

    • getDestinations

      @Stability(Stable) @Nullable default Object getDestinations()
      One or more event data stores to which events arriving through a channel will be logged.
    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of the channel.
    • getSource

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      A list of tags.
    • builder

      @Stability(Stable) static CfnChannelProps.Builder builder()
      Returns:
      a CfnChannelProps.Builder of CfnChannelProps