Interface CfnDatastore.CustomerManagedS3Property

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnDatastore.CustomerManagedS3Property extends

When you choose customer-managed storage, the retentionPeriod parameter is ignored. You can't change the choice of Amazon S3 storage after your data store is created.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CustomerManagedS3Property customerManagedS3Property = CustomerManagedS3Property.builder()
         // the properties below are optional
  • Method Details

    • getBucket

      @Stability(Stable) @NotNull String getBucket()
      The name of the Amazon S3 bucket where your data is stored.
    • getRoleArn

      @Stability(Stable) @NotNull String getRoleArn()
      The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
    • getKeyPrefix

      @Stability(Stable) @Nullable default String getKeyPrefix()
      (Optional) The prefix used to create the keys of the data store data objects.

      Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).

    • builder

      @Stability(Stable) static CfnDatastore.CustomerManagedS3Property.Builder builder()
      a CfnDatastore.CustomerManagedS3Property.Builder of CfnDatastore.CustomerManagedS3Property