Interface CfnDatastore.DatastoreStorageProperty

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

@Stability(Stable) public static interface CfnDatastore.DatastoreStorageProperty extends software.amazon.jsii.JsiiSerializable
Where data store data is stored.

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;
 DatastoreStorageProperty datastoreStorageProperty = DatastoreStorageProperty.builder()
         .customerManagedS3(CustomerManagedS3Property.builder()
                 .bucket("bucket")
                 .roleArn("roleArn")
                 // the properties below are optional
                 .keyPrefix("keyPrefix")
                 .build())
         .iotSiteWiseMultiLayerStorage(IotSiteWiseMultiLayerStorageProperty.builder()
                 .customerManagedS3Storage(CustomerManagedS3StorageProperty.builder()
                         .bucket("bucket")
                         // the properties below are optional
                         .keyPrefix("keyPrefix")
                         .build())
                 .build())
         .serviceManagedS3(serviceManagedS3)
         .build();
 
  • Method Details

    • getCustomerManagedS3

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

      The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.

    • getIotSiteWiseMultiLayerStorage

      @Stability(Stable) @Nullable default Object getIotSiteWiseMultiLayerStorage()
      Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage.

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

    • getServiceManagedS3

      @Stability(Stable) @Nullable default Object getServiceManagedS3()
      Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service.

      The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.

    • builder

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