Class: AWSCDK::S3Tables::CfnTable::StorageClassConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
s3_tables/cfn_table.rb

Overview

The configuration details for the storage class of tables or table buckets.

This allows you to optimize storage costs by selecting the appropriate storage class based on your access patterns and performance requirements.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(storage_class: nil) ⇒ StorageClassConfigurationProperty

Returns a new instance of StorageClassConfigurationProperty.

Parameters:

  • storage_class (String, nil) (defaults to: nil)

    The storage class for the table or table bucket.



1290
1291
1292
1293
# File 's3_tables/cfn_table.rb', line 1290

def initialize(storage_class: nil)
  @storage_class = storage_class
  Jsii::Type.check_type(@storage_class, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "storageClass") unless @storage_class.nil?
end

Instance Attribute Details

#storage_classString? (readonly)

The storage class for the table or table bucket.

Valid values include storage classes optimized for different access patterns and cost profiles.



1301
1302
1303
# File 's3_tables/cfn_table.rb', line 1301

def storage_class
  @storage_class
end

Class Method Details

.jsii_propertiesObject



1303
1304
1305
1306
1307
# File 's3_tables/cfn_table.rb', line 1303

def self.jsii_properties
  {
    :storage_class => "storageClass",
  }
end

Instance Method Details

#to_jsiiObject



1309
1310
1311
1312
1313
1314
1315
# File 's3_tables/cfn_table.rb', line 1309

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