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 may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed 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.



1522
1523
1524
1525
1526
1527
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 1522

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 the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.

Returns:

  • (Types::ServiceManagedDatastoreS3Storage)


1522
1523
1524
1525
1526
1527
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 1522

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