interface CfnTableOptimizerMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins.CfnTableOptimizerMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/mixins#CfnTableOptimizerMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnTableOptimizerMixinProps |
Python | aws_cdk.mixins_preview.aws_glue.mixins.CfnTableOptimizerMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_glue » mixins » CfnTableOptimizerMixinProps |
Properties for CfnTableOptimizerPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html
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 cfnTableOptimizerMixinProps: glue_mixins.CfnTableOptimizerMixinProps = {
catalogId: 'catalogId',
databaseName: 'databaseName',
tableName: 'tableName',
tableOptimizerConfiguration: {
enabled: false,
orphanFileDeletionConfiguration: {
icebergConfiguration: {
location: 'location',
orphanFileRetentionPeriodInDays: 123,
},
},
retentionConfiguration: {
icebergConfiguration: {
cleanExpiredFiles: false,
numberOfSnapshotsToRetain: 123,
snapshotRetentionPeriodInDays: 123,
},
},
roleArn: 'roleArn',
vpcConfiguration: {
glueConnectionName: 'glueConnectionName',
},
},
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| catalog | string | The catalog ID of the table. |
| database | string | The name of the database. |
| table | string | The table name. |
| table | IResolvable | Table | Specifies configuration details of a table optimizer. |
| type? | string | The type of table optimizer. The valid values are:. |
catalogId?
Type:
string
(optional)
The catalog ID of the table.
databaseName?
Type:
string
(optional)
The name of the database.
For Hive compatibility, this is folded to lowercase when it is stored.
tableName?
Type:
string
(optional)
The table name.
For Hive compatibility, this must be entirely lowercase.
tableOptimizerConfiguration?
Type:
IResolvable | Table
(optional)
Specifies configuration details of a table optimizer.
type?
Type:
string
(optional)
The type of table optimizer. The valid values are:.
- compaction - for managing compaction with a table optimizer.
- retention - for managing the retention of snapshot with a table optimizer.
- orphan_file_deletion - for managing the deletion of orphan files with a table optimizer.

.NET
Go
Java
Python
TypeScript