Class: AWSCDK::S3Tables::CfnTable::CompactionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Tables::CfnTable::CompactionProperty
- Defined in:
- s3_tables/cfn_table.rb
Overview
Contains details about the compaction settings for an Iceberg table.
Instance Attribute Summary collapse
-
#status ⇒ String?
readonly
The status of the maintenance configuration.
-
#target_file_size_mb ⇒ Numeric?
readonly
The target file size for the table in MB.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(status: nil, target_file_size_mb: nil) ⇒ CompactionProperty
constructor
A new instance of CompactionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(status: nil, target_file_size_mb: nil) ⇒ CompactionProperty
Returns a new instance of CompactionProperty.
666 667 668 669 670 671 |
# File 's3_tables/cfn_table.rb', line 666 def initialize(status: nil, target_file_size_mb: nil) @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? @target_file_size_mb = target_file_size_mb Jsii::Type.check_type(@target_file_size_mb, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "targetFileSizeMb") unless @target_file_size_mb.nil? end |
Instance Attribute Details
#status ⇒ String? (readonly)
The status of the maintenance configuration.
677 678 679 |
# File 's3_tables/cfn_table.rb', line 677 def status @status end |
#target_file_size_mb ⇒ Numeric? (readonly)
The target file size for the table in MB.
682 683 684 |
# File 's3_tables/cfn_table.rb', line 682 def target_file_size_mb @target_file_size_mb end |
Class Method Details
.jsii_properties ⇒ Object
684 685 686 687 688 689 |
# File 's3_tables/cfn_table.rb', line 684 def self.jsii_properties { :status => "status", :target_file_size_mb => "targetFileSizeMb", } end |
Instance Method Details
#to_jsii ⇒ Object
691 692 693 694 695 696 697 698 |
# File 's3_tables/cfn_table.rb', line 691 def to_jsii result = {} result.merge!({ "status" => @status, "targetFileSizeMb" => @target_file_size_mb, }) result.compact end |