Class: AWSCDK::S3Tables::CfnTableBucket::StorageClassConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Tables::CfnTableBucket::StorageClassConfigurationProperty
- Defined in:
- s3_tables/cfn_table_bucket.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.
801 802 803 804 |
# File 's3_tables/cfn_table_bucket.rb', line 801 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.
812 813 814 |
# File 's3_tables/cfn_table_bucket.rb', line 812 def storage_class @storage_class end |
Class Method Details
.jsii_properties ⇒ Object
814 815 816 817 818 |
# File 's3_tables/cfn_table_bucket.rb', line 814 def self.jsii_properties { :storage_class => "storageClass", } end |
Instance Method Details
#to_jsii ⇒ Object
820 821 822 823 824 825 826 |
# File 's3_tables/cfn_table_bucket.rb', line 820 def to_jsii result = {} result.merge!({ "storageClass" => @storage_class, }) result.compact end |