class Aws::IoTAnalytics::Types::DatastoreStorage

Where data in a data store is stored.. You can choose `serviceManagedS3` storage, `customerManagedS3` storage, or `iotSiteWiseMultiLayerStorage` storage. The default is `serviceManagedS3`. You can't change the choice of Amazon S3 storage after your data store is created.

@note When making an API call, you may pass DatastoreStorage

data as a hash:

    {
      service_managed_s3: {
      },
      customer_managed_s3: {
        bucket: "BucketName", # required
        key_prefix: "S3KeyPrefix",
        role_arn: "RoleArn", # required
      },
      iot_site_wise_multi_layer_storage: {
        customer_managed_s3_storage: { # required
          bucket: "BucketName", # required
          key_prefix: "S3KeyPrefix",
        },
      },
    }

@!attribute [rw] service_managed_s3

Used to store data in an Amazon S3 bucket managed by IoT Analytics.
You can't change the choice of Amazon S3 storage after your data
store is created.
@return [Types::ServiceManagedDatastoreS3Storage]

@!attribute [rw] customer_managed_s3

S3-customer-managed; 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.
@return [Types::CustomerManagedDatastoreS3Storage]

@!attribute [rw] iot_site_wise_multi_layer_storage

Used to store data used by 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.
@return [Types::DatastoreIotSiteWiseMultiLayerStorage]

Constants

SENSITIVE