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:29:57.739Z") @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.iotanalytics.*;
 Object serviceManagedS3;
 CfnChannelProps cfnChannelProps = CfnChannelProps.builder()
         .channelName("channelName")
         .channelStorage(ChannelStorageProperty.builder()
                 .customerManagedS3(CustomerManagedS3Property.builder()
                         .bucket("bucket")
                         .roleArn("roleArn")
                         // the properties below are optional
                         .keyPrefix("keyPrefix")
                         .build())
                 .serviceManagedS3(serviceManagedS3)
                 .build())
         .retentionPeriod(RetentionPeriodProperty.builder()
                 .numberOfDays(123)
                 .unlimited(false)
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getChannelName

      @Stability(Stable) @Nullable default String getChannelName()
      The name of the channel.
    • getChannelStorage

      @Stability(Stable) @Nullable default Object getChannelStorage()
      Where channel data is stored.
    • getRetentionPeriod

      @Stability(Stable) @Nullable default Object getRetentionPeriod()
      How long, in days, message data is kept for the channel.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      Metadata which can be used to manage the channel.

      For more information, see Tag .

    • builder

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