CatalogTableOptimizerConfigurationRetentionConfigurationIcebergConfiguration constructor

const CatalogTableOptimizerConfigurationRetentionConfigurationIcebergConfiguration({
  1. Input<bool?>? cleanExpiredFiles,
  2. Input<int?>? numberOfSnapshotsToRetain,
  3. Input<int?>? runRateInHours,
  4. Input<int?>? snapshotRetentionPeriodInDays,
})

Creates a new CatalogTableOptimizerConfigurationRetentionConfigurationIcebergConfiguration. cleanExpiredFiles If set to false, snapshots are only deleted from table metadata, and the underlying data and metadata files are not deleted. Defaults to false. numberOfSnapshotsToRetain The number of Iceberg snapshots to retain within the retention period. Defaults to 1 or the corresponding Iceberg table configuration field if it exists. runRateInHours Interval in hours between retention job runs. Defaults to 24. snapshotRetentionPeriodInDays The number of days to retain the Iceberg snapshots. Defaults to 5, or the corresponding Iceberg table configuration field if it exists.

Implementation

const CatalogTableOptimizerConfigurationRetentionConfigurationIcebergConfiguration({
  this.cleanExpiredFiles,
  this.numberOfSnapshotsToRetain,
  this.runRateInHours,
  this.snapshotRetentionPeriodInDays,
});