Class: Aws::IoTAnalytics::Types::DatastoreStorage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb

Overview

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
  },
}

Where data store data is stored. You can choose one of serviceManagedS3 or customerManagedS3 storage. If not specified, the default is serviceManagedS3. You cannot change this storage option after the data store is created.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#customer_managed_s3Types::CustomerManagedDatastoreS3Storage

Use this to store data store data in an S3 bucket that you manage. When customer managed storage is selected, the retentionPeriod parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.



1696
1697
1698
1699
1700
1701
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 1696

class DatastoreStorage < Struct.new(
  :service_managed_s3,
  :customer_managed_s3)
  SENSITIVE = []
  include Aws::Structure
end

#service_managed_s3Types::ServiceManagedDatastoreS3Storage

Use this to store data store data in an S3 bucket managed by AWS IoT Analytics. You cannot change the choice of service-managed or customer-managed S3 storage after the data store is created.

Returns:

  • (Types::ServiceManagedDatastoreS3Storage)


1696
1697
1698
1699
1700
1701
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 1696

class DatastoreStorage < Struct.new(
  :service_managed_s3,
  :customer_managed_s3)
  SENSITIVE = []
  include Aws::Structure
end