Interface CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnTableOptimizerPropsMixin
@Stability(Stable)
public static interface CfnTableOptimizerPropsMixin.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.mixins.preview.services.glue.mixins.*;
TableOptimizerConfigurationProperty tableOptimizerConfigurationProperty = TableOptimizerConfigurationProperty.builder()
.enabled(false)
.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())
.roleArn("roleArn")
.vpcConfiguration(VpcConfigurationProperty.builder()
.glueConnectionName("glueConnectionName")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectWhether 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.default StringA 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:
-
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
IResolvableorCfnTableOptimizerPropsMixin.OrphanFileDeletionConfigurationProperty- See Also:
-
getRetentionConfiguration
The configuration for a snapshot retention optimizer for Apache Iceberg tables.Returns union: either
IResolvableorCfnTableOptimizerPropsMixin.RetentionConfigurationProperty- 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:
-
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
IResolvableorCfnTableOptimizerPropsMixin.VpcConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder builder()
-