CfnTableMixinProps
- class aws_cdk.mixins_preview.aws_glue.mixins.CfnTableMixinProps(*, catalog_id=None, database_name=None, open_table_format_input=None, table_input=None)
Bases:
objectProperties for CfnTablePropsMixin.
- Parameters:
catalog_id (
Optional[str]) – The ID of the Data Catalog in which to create theTable.database_name (
Optional[str]) – The name of the database where the table metadata resides. For Hive compatibility, this must be all lowercase.open_table_format_input (
Union[IResolvable,OpenTableFormatInputProperty,Dict[str,Any],None]) – Specifies anOpenTableFormatInputstructure when creating an open format table.table_input (
Union[IResolvable,TableInputProperty,Dict[str,Any],None]) – A structure used to define a table.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.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.mixins_preview.aws_glue import mixins as glue_mixins # parameters: Any # skewed_column_value_location_maps: Any cfn_table_mixin_props = glue_mixins.CfnTableMixinProps( catalog_id="catalogId", database_name="databaseName", open_table_format_input=glue_mixins.CfnTablePropsMixin.OpenTableFormatInputProperty( iceberg_input=glue_mixins.CfnTablePropsMixin.IcebergInputProperty( metadata_operation="metadataOperation", version="version" ) ), table_input=glue_mixins.CfnTablePropsMixin.TableInputProperty( description="description", name="name", owner="owner", parameters=parameters, partition_keys=[glue_mixins.CfnTablePropsMixin.ColumnProperty( comment="comment", name="name", type="type" )], retention=123, storage_descriptor=glue_mixins.CfnTablePropsMixin.StorageDescriptorProperty( bucket_columns=["bucketColumns"], columns=[glue_mixins.CfnTablePropsMixin.ColumnProperty( comment="comment", name="name", type="type" )], compressed=False, input_format="inputFormat", location="location", number_of_buckets=123, output_format="outputFormat", parameters=parameters, schema_reference=glue_mixins.CfnTablePropsMixin.SchemaReferenceProperty( schema_id=glue_mixins.CfnTablePropsMixin.SchemaIdProperty( registry_name="registryName", schema_arn="schemaArn", schema_name="schemaName" ), schema_version_id="schemaVersionId", schema_version_number=123 ), serde_info=glue_mixins.CfnTablePropsMixin.SerdeInfoProperty( name="name", parameters=parameters, serialization_library="serializationLibrary" ), skewed_info=glue_mixins.CfnTablePropsMixin.SkewedInfoProperty( skewed_column_names=["skewedColumnNames"], skewed_column_value_location_maps=skewed_column_value_location_maps, skewed_column_values=["skewedColumnValues"] ), sort_columns=[glue_mixins.CfnTablePropsMixin.OrderProperty( column="column", sort_order=123 )], stored_as_sub_directories=False ), table_type="tableType", target_table=glue_mixins.CfnTablePropsMixin.TableIdentifierProperty( catalog_id="catalogId", database_name="databaseName", name="name", region="region" ), view_expanded_text="viewExpandedText", view_original_text="viewOriginalText" ) )
Attributes
- catalog_id
The ID of the Data Catalog in which to create the
Table.
- database_name
The name of the database where the table metadata resides.
For Hive compatibility, this must be all lowercase.
- open_table_format_input
Specifies an
OpenTableFormatInputstructure when creating an open format table.
- table_input
A structure used to define a table.