CfnTableOptimizerProps
- class aws_cdk.aws_glue.CfnTableOptimizerProps(*, catalog_id, database_name, table_name, table_optimizer_configuration, type)
Bases:
object
Properties for defining a
CfnTableOptimizer
.- Parameters:
catalog_id (
str
) – The catalog ID of the table.database_name (
str
) – The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.table_name (
str
) – The table name. For Hive compatibility, this must be entirely lowercase.table_optimizer_configuration (
Union
[IResolvable
,TableOptimizerConfigurationProperty
,Dict
[str
,Any
]]) – Specifies configuration details of a table optimizer.type (
str
) – The type of table optimizer. Currently, the only valid value is compaction.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue cfn_table_optimizer_props = glue.CfnTableOptimizerProps( catalog_id="catalogId", database_name="databaseName", table_name="tableName", table_optimizer_configuration=glue.CfnTableOptimizer.TableOptimizerConfigurationProperty( enabled=False, role_arn="roleArn" ), type="type" )
Attributes
- catalog_id
The catalog ID of the table.
- database_name
The name of the database.
For Hive compatibility, this is folded to lowercase when it is stored.
- table_name
The table name.
For Hive compatibility, this must be entirely lowercase.
- table_optimizer_configuration
Specifies configuration details of a table optimizer.
- type
The type of table optimizer.
Currently, the only valid value is compaction.