Class: AWSCDK::Glue::CfnTableOptimizer::OrphanFileDeletionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnTableOptimizer::OrphanFileDeletionConfigurationProperty
- Defined in:
- glue/cfn_table_optimizer.rb
Overview
Configuration for removing files that are are not tracked by the Iceberg table metadata, and are older than your configured age limit.
This configuration helps optimize storage usage and costs by automatically cleaning up files that are no longer needed by the table.
Instance Attribute Summary collapse
-
#iceberg_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The
IcebergConfigurationproperty helps optimize your Iceberg tables in AWS Glue by allowing you to specify format-specific settings that control how data is stored, compressed, and managed.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(iceberg_configuration: nil) ⇒ OrphanFileDeletionConfigurationProperty
constructor
A new instance of OrphanFileDeletionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(iceberg_configuration: nil) ⇒ OrphanFileDeletionConfigurationProperty
Returns a new instance of OrphanFileDeletionConfigurationProperty.
647 648 649 650 |
# File 'glue/cfn_table_optimizer.rb', line 647 def initialize(iceberg_configuration: nil) @iceberg_configuration = iceberg_configuration.is_a?(Hash) ? ::AWSCDK::Glue::CfnTableOptimizer::IcebergConfigurationProperty.new(**iceberg_configuration.transform_keys(&:to_sym)) : iceberg_configuration Jsii::Type.check_type(@iceberg_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19nbHVlLkNmblRhYmxlT3B0aW1pemVyLkljZWJlcmdDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "icebergConfiguration") unless @iceberg_configuration.nil? end |
Instance Attribute Details
#iceberg_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The IcebergConfiguration property helps optimize your Iceberg tables in AWS Glue by allowing you to specify format-specific settings that control how data is stored, compressed, and managed.
656 657 658 |
# File 'glue/cfn_table_optimizer.rb', line 656 def iceberg_configuration @iceberg_configuration end |
Class Method Details
.jsii_properties ⇒ Object
658 659 660 661 662 |
# File 'glue/cfn_table_optimizer.rb', line 658 def self.jsii_properties { :iceberg_configuration => "icebergConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
664 665 666 667 668 669 670 |
# File 'glue/cfn_table_optimizer.rb', line 664 def to_jsii result = {} result.merge!({ "icebergConfiguration" => @iceberg_configuration, }) result.compact end |