Class: Aws::Glue::Types::IcebergRetentionConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

The configuration for an Iceberg snapshot retention optimizer.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#clean_expired_filesBoolean

If set to false, snapshots are only deleted from table metadata, and the underlying data and metadata files are not deleted.

Returns:

  • (Boolean)


16311
16312
16313
16314
16315
16316
16317
16318
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 16311

class IcebergRetentionConfiguration < Struct.new(
  :snapshot_retention_period_in_days,
  :number_of_snapshots_to_retain,
  :clean_expired_files,
  :run_rate_in_hours)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_snapshots_to_retainInteger

The number of Iceberg snapshots to retain within the retention period. If an input is not provided, the corresponding Iceberg table configuration field will be used or if not present, the default value 1 will be used.

Returns:

  • (Integer)


16311
16312
16313
16314
16315
16316
16317
16318
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 16311

class IcebergRetentionConfiguration < Struct.new(
  :snapshot_retention_period_in_days,
  :number_of_snapshots_to_retain,
  :clean_expired_files,
  :run_rate_in_hours)
  SENSITIVE = []
  include Aws::Structure
end

#run_rate_in_hoursInteger

The interval in hours between retention job runs. This parameter controls how frequently the retention optimizer will run to clean up expired snapshots. The value must be between 3 and 168 hours (7 days). If an input is not provided, the default value 24 will be used.

Returns:

  • (Integer)


16311
16312
16313
16314
16315
16316
16317
16318
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 16311

class IcebergRetentionConfiguration < Struct.new(
  :snapshot_retention_period_in_days,
  :number_of_snapshots_to_retain,
  :clean_expired_files,
  :run_rate_in_hours)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_retention_period_in_daysInteger

The number of days to retain the Iceberg snapshots. If an input is not provided, the corresponding Iceberg table configuration field will be used or if not present, the default value 5 will be used.

Returns:

  • (Integer)


16311
16312
16313
16314
16315
16316
16317
16318
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 16311

class IcebergRetentionConfiguration < Struct.new(
  :snapshot_retention_period_in_days,
  :number_of_snapshots_to_retain,
  :clean_expired_files,
  :run_rate_in_hours)
  SENSITIVE = []
  include Aws::Structure
end