# CompactionConfigurationProperty

- 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 compactionConfigurationProperty: glue.CfnTableOptimizer.CompactionConfigurationProperty = {
  icebergConfiguration: {
    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

compaction_configuration_property = glue.CfnTableOptimizer.CompactionConfigurationProperty(
    iceberg_configuration=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.*;

CompactionConfigurationProperty compactionConfigurationProperty = CompactionConfigurationProperty.builder()
        .icebergConfiguration(IcebergCompactionConfigurationProperty.builder()
                .deleteFileThreshold(123)
                .minInputFiles(123)
                .strategy("strategy")
                .build())
        .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 compactionConfigurationProperty = new CompactionConfigurationProperty {
    IcebergConfiguration = 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"

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

## Properties

- `icebergConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTableOptimizer.IcebergCompactionConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnTableOptimizer.IcebergCompactionConfigurationProperty.html)
