# IcebergCompactionConfigurationProperty

- Source: Generated at build time
- Type last changed: v2.262.0 · 22 Jul 2026

## Example

TypeScript:

```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',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

iceberg_compaction_configuration_property = glue.CfnTableOptimizer.IcebergCompactionConfigurationProperty(
    delete_file_threshold=123,
    min_input_files=123,
    strategy="strategy"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

IcebergCompactionConfigurationProperty icebergCompactionConfigurationProperty = IcebergCompactionConfigurationProperty.builder()
        .deleteFileThreshold(123)
        .minInputFiles(123)
        .strategy("strategy")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var icebergCompactionConfigurationProperty = new IcebergCompactionConfigurationProperty {
    DeleteFileThreshold = 123,
    MinInputFiles = 123,
    Strategy = "strategy"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

icebergCompactionConfigurationProperty := &IcebergCompactionConfigurationProperty{
	DeleteFileThreshold: jsii.Number(123),
	MinInputFiles: jsii.Number(123),
	Strategy: jsii.String("strategy"),
}
```

## Properties

- `deleteFileThreshold`: number — The minimum number of deletes in a data file to make it eligible for compaction.

- `minInputFiles`: number — The minimum number of input files before compaction is triggered.

- `strategy`: string — The compaction strategy to use.

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