Interface CfnChannel.ChannelStorageProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnChannel.ChannelStorageProperty.Jsii$Proxy
Enclosing class:
CfnChannel

@Stability(Stable) public static interface CfnChannel.ChannelStorageProperty extends software.amazon.jsii.JsiiSerializable
Where channel data is stored.

You may choose one of serviceManagedS3 , customerManagedS3 storage. If not specified, the default is serviceManagedS3 . This can't be changed after creation of the channel.

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;
 ChannelStorageProperty channelStorageProperty = ChannelStorageProperty.builder()
         .customerManagedS3(CustomerManagedS3Property.builder()
                 .bucket("bucket")
                 .roleArn("roleArn")
                 // the properties below are optional
                 .keyPrefix("keyPrefix")
                 .build())
         .serviceManagedS3(serviceManagedS3)
         .build();
 
  • Method Details

    • getCustomerManagedS3

      @Stability(Stable) @Nullable default Object getCustomerManagedS3()
      Used to store channel data in an S3 bucket that you manage.

      If customer managed storage is selected, the retentionPeriod parameter is ignored. You can't change the choice of S3 storage after the data store is created.

    • getServiceManagedS3

      @Stability(Stable) @Nullable default Object getServiceManagedS3()
      Used to store channel data in an S3 bucket managed by AWS IoT Analytics .

      You can't change the choice of S3 storage after the data store is created.

    • builder

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