IcebergRetentionConfigurationProperty 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 icebergRetentionConfigurationProperty: glue.CfnTableOptimizer.IcebergRetentionConfigurationProperty = {
cleanExpiredFiles: false,
numberOfSnapshotsToRetain: 123,
snapshotRetentionPeriodInDays: 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_retention_configuration_property = glue.CfnTableOptimizer.IcebergRetentionConfigurationProperty(
clean_expired_files=False,
number_of_snapshots_to_retain=123,
snapshot_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.*;
IcebergRetentionConfigurationProperty icebergRetentionConfigurationProperty = IcebergRetentionConfigurationProperty.builder()
.cleanExpiredFiles(false)
.numberOfSnapshotsToRetain(123)
.snapshotRetentionPeriodInDays(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 icebergRetentionConfigurationProperty = new IcebergRetentionConfigurationProperty {
CleanExpiredFiles = false,
NumberOfSnapshotsToRetain = 123,
SnapshotRetentionPeriodInDays = 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"
icebergRetentionConfigurationProperty := &IcebergRetentionConfigurationProperty{
CleanExpiredFiles: jsii.Boolean(false),
NumberOfSnapshotsToRetain: jsii.Number(123),
SnapshotRetentionPeriodInDays: jsii.Number(123),
}
Properties
cleanExpiredFilesoptionalboolean | IResolvableclean_expired_filesoptionaltyping.Union[bool, IResolvable]cleanExpiredFilesoptionalBooleanCleanExpiredFilesoptionalboolCleanExpiredFilesoptionalinterface{} #numberOfSnapshotsToRetainoptionalnumbernumber_of_snapshots_to_retainoptionalint | floatnumberOfSnapshotsToRetainoptionalNumberNumberOfSnapshotsToRetainoptionaldoubleNumberOfSnapshotsToRetainoptional*float64 #snapshotRetentionPeriodInDaysoptionalnumbersnapshot_retention_period_in_daysoptionalint | floatsnapshotRetentionPeriodInDaysoptionalNumberSnapshotRetentionPeriodInDaysoptionaldoubleSnapshotRetentionPeriodInDaysoptional*float64 #