IcebergConfigurationProperty Struct
IcebergConfiguration is a property type within the AWS::Glue::TableOptimizer resource in AWS CloudFormation.
This configuration is used when setting up table optimization for Iceberg tables in AWS Glue .
| 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 icebergConfigurationProperty: glue.CfnTableOptimizer.IcebergConfigurationProperty = {
location: 'location',
orphanFileRetentionPeriodInDays: 123,
};
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_configuration_property = glue.CfnTableOptimizer.IcebergConfigurationProperty(
location="location",
orphan_file_retention_period_in_days=123
)
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.*;
IcebergConfigurationProperty icebergConfigurationProperty = IcebergConfigurationProperty.builder()
.location("location")
.orphanFileRetentionPeriodInDays(123)
.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 icebergConfigurationProperty = new IcebergConfigurationProperty {
Location = "location",
OrphanFileRetentionPeriodInDays = 123
};
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"
icebergConfigurationProperty := &IcebergConfigurationProperty{
Location: jsii.String("location"),
OrphanFileRetentionPeriodInDays: jsii.Number(123),
}
Properties
locationoptionalstringlocationoptionalstrlocationoptionalStringLocationoptionalstringLocationoptional*string #Specifies a directory in which to look for orphan files (defaults to the table's location).
You may choose a sub-directory rather than the top-level table location.
orphanFileRetentionPeriodInDaysoptionalnumberorphan_file_retention_period_in_daysoptionalint | floatorphanFileRetentionPeriodInDaysoptionalNumberOrphanFileRetentionPeriodInDaysoptionaldoubleOrphanFileRetentionPeriodInDaysoptional*float64 #The specific number of days you want to keep the orphan files.