AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Glue::TableOptimizer

CfnTableOptimizer

An AWS Glue resource for enabling table optimizers to improve read performance for open table formats.

Import

import { CfnTableOptimizer } from 'aws-cdk-lib/aws-glue';

Or use the module namespace:

import * as glue from 'aws-cdk-lib/aws-glue';
// glue.CfnTableOptimizer

Properties

Configuration passed to the constructor as CfnTableOptimizerProps.

catalogIdRequired
string

The catalog ID of the table.

databaseNameRequired
string

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

tableNameRequired
string

The table name. For Hive compatibility, this must be entirely lowercase.

tableOptimizerConfigurationRequired
IResolvable | TableOptimizerConfigurationProperty

Specifies configuration details of a table optimizer.

typeRequired
string

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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter