interface CfnTableOptimizerProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Glue.CfnTableOptimizerProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnTableOptimizerProps |
![]() | software.amazon.awscdk.services.glue.CfnTableOptimizerProps |
![]() | aws_cdk.aws_glue.CfnTableOptimizerProps |
![]() | aws-cdk-lib » aws_glue » CfnTableOptimizerProps |
Properties for defining a CfnTableOptimizer
.
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 { aws_glue as glue } from 'aws-cdk-lib';
const cfnTableOptimizerProps: glue.CfnTableOptimizerProps = {
catalogId: 'catalogId',
databaseName: 'databaseName',
tableName: 'tableName',
tableOptimizerConfiguration: {
enabled: false,
roleArn: 'roleArn',
// the properties below are optional
orphanFileDeletionConfiguration: {
icebergConfiguration: {
location: 'location',
orphanFileRetentionPeriodInDays: 123,
},
},
retentionConfiguration: {
icebergConfiguration: {
location: 'location',
orphanFileRetentionPeriodInDays: 123,
},
},
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. |
catalogId
Type:
string
The catalog ID of the table.
databaseName
Type:
string
The name of the database.
For Hive compatibility, this is folded to lowercase when it is stored.
tableName
Type:
string
The table name.
For Hive compatibility, this must be entirely lowercase.
tableOptimizerConfiguration
Type:
IResolvable
|
Table
Specifies configuration details of a table optimizer.
type
Type:
string
The type of table optimizer.
Currently, the only valid value is compaction.