Class: AWSCDK::IoTAnalytics::CfnDatastore::IotSiteWiseMultiLayerStorageProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_analytics/cfn_datastore.rb

Overview

Stores 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.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(customer_managed_s3_storage: nil) ⇒ IotSiteWiseMultiLayerStorageProperty

Returns a new instance of IotSiteWiseMultiLayerStorageProperty.

Parameters:



936
937
938
939
# File 'io_t_analytics/cfn_datastore.rb', line 936

def initialize(customer_managed_s3_storage: nil)
  @customer_managed_s3_storage = customer_managed_s3_storage.is_a?(Hash) ? ::AWSCDK::IoTAnalytics::CfnDatastore::CustomerManagedS3StorageProperty.new(**customer_managed_s3_storage.transform_keys(&:to_sym)) : customer_managed_s3_storage
  Jsii::Type.check_type(@customer_managed_s3_storage, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RhbmFseXRpY3MuQ2ZuRGF0YXN0b3JlLkN1c3RvbWVyTWFuYWdlZFMzU3RvcmFnZVByb3BlcnR5In1dfX0=")), "customerManagedS3Storage") unless @customer_managed_s3_storage.nil?
end

Instance Attribute Details

#customer_managed_s3_storageAWSCDK::IResolvable, ... (readonly)

Stores data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage.



945
946
947
# File 'io_t_analytics/cfn_datastore.rb', line 945

def customer_managed_s3_storage
  @customer_managed_s3_storage
end

Class Method Details

.jsii_propertiesObject



947
948
949
950
951
# File 'io_t_analytics/cfn_datastore.rb', line 947

def self.jsii_properties
  {
    :customer_managed_s3_storage => "customerManagedS3Storage",
  }
end

Instance Method Details

#to_jsiiObject



953
954
955
956
957
958
959
# File 'io_t_analytics/cfn_datastore.rb', line 953

def to_jsii
  result = {}
  result.merge!({
    "customerManagedS3Storage" => @customer_managed_s3_storage,
  })
  result.compact
end