Skip to content
v2.275.0

IcebergCompactionConfigurationProperty Struct ​

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 icebergCompactionConfigurationProperty: glue.CfnTableOptimizer.IcebergCompactionConfigurationProperty = {
  deleteFileThreshold: 123,
  minInputFiles: 123,
  strategy: 'strategy',
};

Properties ​

deleteFileThresholdoptionalnumberdelete_file_thresholdoptionalint | floatdeleteFileThresholdoptionalNumberDeleteFileThresholdoptionaldoubleDeleteFileThresholdoptional*float64#
The minimum number of deletes in a data file to make it eligible for compaction.
minInputFilesoptionalnumbermin_input_filesoptionalint | floatminInputFilesoptionalNumberMinInputFilesoptionaldoubleMinInputFilesoptional*float64#
The minimum number of input files before compaction is triggered.
strategyoptionalstringstrategyoptionalstrstrategyoptionalStringStrategyoptionalstringStrategyoptional*string#
The compaction strategy to use.

Valid values are binpack, sort, and z-order.