Skip to content
v2.273.0

OrphanFileDeletionConfigurationProperty Struct ​

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.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const orphanFileDeletionConfigurationProperty: glue.CfnTableOptimizer.OrphanFileDeletionConfigurationProperty = {
  icebergConfiguration: {
    location: 'location',
    orphanFileRetentionPeriodInDays: 123,
  },
};

Properties ​

icebergConfigurationIResolvable | CfnTableOptimizer.IcebergConfigurationPropertyiceberg_configurationtyping.Union[IResolvable, IcebergConfigurationProperty]icebergConfigurationIResolvableIcebergConfigurationIResolvableIcebergConfigurationinterface{}#
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.