Skip to content
v2.278.0

CompactionConfigurationProperty 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 compactionConfigurationProperty: glue.CfnTableOptimizer.CompactionConfigurationProperty = {
  icebergConfiguration: {
    deleteFileThreshold: 123,
    minInputFiles: 123,
    strategy: 'strategy',
  },
};
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
// 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();
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"
    }
};
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 ​

icebergConfigurationoptionalIResolvable | CfnTableOptimizer.IcebergCompactionConfigurationPropertyiceberg_configurationoptionaltyping.Union[IResolvable, IcebergCompactionConfigurationProperty]icebergConfigurationoptionalIResolvableIcebergConfigurationoptionalIResolvableIcebergConfigurationoptionalinterface{} #