Class: AWSCDK::S3Tables::CfnTable::StorageClassConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Tables::CfnTable::StorageClassConfigurationProperty
- 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
-
#storage_class ⇒ String?
readonly
The storage class for the table or table bucket.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(storage_class: nil) ⇒ StorageClassConfigurationProperty
constructor
A new instance of StorageClassConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(storage_class: nil) ⇒ StorageClassConfigurationProperty
Returns a new instance of StorageClassConfigurationProperty.
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_class ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |