IcebergCompactionConfigurationProperty Struct
| Source | |
|---|---|
| Type last changed |
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',
};
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
// 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();
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"
};
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
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.