interface TableOptimizerConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins.CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/mixins#CfnTableOptimizerPropsMixin_TableOptimizerConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_glue.mixins.CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_glue » mixins » CfnTableOptimizerPropsMixin » TableOptimizerConfigurationProperty |
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 { mixins as glue_mixins } from '@aws-cdk/mixins-preview/aws-glue';
const tableOptimizerConfigurationProperty: glue_mixins.CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty = {
enabled: false,
orphanFileDeletionConfiguration: {
icebergConfiguration: {
location: 'location',
orphanFileRetentionPeriodInDays: 123,
},
},
retentionConfiguration: {
icebergConfiguration: {
cleanExpiredFiles: false,
numberOfSnapshotsToRetain: 123,
snapshotRetentionPeriodInDays: 123,
},
},
roleArn: 'roleArn',
vpcConfiguration: {
glueConnectionName: 'glueConnectionName',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled? | boolean | IResolvable | Whether the table optimization is enabled. |
| orphan | IResolvable | Orphan | OrphanFileDeletionConfiguration is a property that can be included within the TableOptimizer resource. |
| retention | IResolvable | Retention | The configuration for a snapshot retention optimizer for Apache Iceberg tables. |
| role | string | A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf. |
| vpc | IResolvable | Vpc | An object that describes the VPC configuration for a table optimizer. |
enabled?
Type:
boolean | IResolvable
(optional)
Whether the table optimization is enabled.
orphanFileDeletionConfiguration?
Type:
IResolvable | Orphan
(optional)
OrphanFileDeletionConfiguration is 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.
retentionConfiguration?
Type:
IResolvable | Retention
(optional)
The configuration for a snapshot retention optimizer for Apache Iceberg tables.
roleArn?
Type:
string
(optional)
A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
vpcConfiguration?
Type:
IResolvable | Vpc
(optional)
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.

.NET
Go
Java
Python
TypeScript