IcebergRetentionConfiguration
The configuration for an Iceberg snapshot retention optimizer.
Contents
- cleanExpiredFiles
-
If set to false, snapshots are only deleted from table metadata, and the underlying data and metadata files are not deleted.
Type: Boolean
Required: No
- numberOfSnapshotsToRetain
-
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.
Type: Integer
Required: No
- runRateInHours
-
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.
Type: Integer
Required: No
- snapshotRetentionPeriodInDays
-
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.
Type: Integer
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: