Interface CfnTableOptimizer.TableOptimizerConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTableOptimizer.TableOptimizerConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnTableOptimizer
@Stability(Stable)
public static interface CfnTableOptimizer.TableOptimizerConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies configuration details of a table optimizer.
Example:
// 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.*;
TableOptimizerConfigurationProperty tableOptimizerConfigurationProperty = TableOptimizerConfigurationProperty.builder()
.enabled(false)
.roleArn("roleArn")
// the properties below are optional
.orphanFileDeletionConfiguration(OrphanFileDeletionConfigurationProperty.builder()
.icebergConfiguration(IcebergConfigurationProperty.builder()
.location("location")
.orphanFileRetentionPeriodInDays(123)
.build())
.build())
.retentionConfiguration(RetentionConfigurationProperty.builder()
.icebergConfiguration(IcebergRetentionConfigurationProperty.builder()
.cleanExpiredFiles(false)
.numberOfSnapshotsToRetain(123)
.snapshotRetentionPeriodInDays(123)
.build())
.build())
.vpcConfiguration(VpcConfigurationProperty.builder()
.glueConnectionName("glueConnectionName")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTableOptimizer.TableOptimizerConfigurationPropertystatic final classAn implementation forCfnTableOptimizer.TableOptimizerConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Whether the table optimization is enabled.default ObjectOrphanFileDeletionConfigurationis a property that can be included within the TableOptimizer resource.default ObjectThe configuration for a snapshot retention optimizer for Apache Iceberg tables.A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.default ObjectAn object that describes the VPC configuration for a table optimizer.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Whether the table optimization is enabled.Returns union: either
BooleanorIResolvable- See Also:
-
getRoleArn
A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.- See Also:
-
getOrphanFileDeletionConfiguration
OrphanFileDeletionConfigurationis a property that can be included within the TableOptimizer resource.It controls the automatic deletion of orphaned files - files that are not tracked by the table metadata, and older than the configured age limit.
Returns union: either
IResolvableorCfnTableOptimizer.OrphanFileDeletionConfigurationProperty- See Also:
-
getRetentionConfiguration
The configuration for a snapshot retention optimizer for Apache Iceberg tables.Returns union: either
IResolvableorCfnTableOptimizer.RetentionConfigurationProperty- See Also:
-
getVpcConfiguration
An object that describes the VPC configuration for a table optimizer.This configuration is necessary to perform optimization on tables that are in a customer VPC.
Returns union: either
IResolvableorCfnTableOptimizer.VpcConfigurationProperty- See Also:
-
builder
-