CfnPartitionMixinProps
- class aws_cdk.mixins_preview.aws_glue.mixins.CfnPartitionMixinProps(*, catalog_id=None, database_name=None, partition_input=None, table_name=None)
Bases:
objectProperties for CfnPartitionPropsMixin.
- Parameters:
catalog_id (
Optional[str]) – The AWS account ID of the catalog in which the partion is to be created. .. epigraph:: To specify the account ID, you can use theRefintrinsic function with theAWS::AccountIdpseudo parameter. For example:!Ref AWS::AccountIddatabase_name (
Optional[str]) – The name of the catalog database in which to create the partition.partition_input (
Union[IResolvable,PartitionInputProperty,Dict[str,Any],None]) – The structure used to create and update a partition.table_name (
Optional[str]) – The name of the metadata table in which the partition is to be created.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-partition.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_partition_mixin_props = glue_mixins.CfnPartitionMixinProps( catalog_id="catalogId", database_name="databaseName", partition_input=glue_mixins.CfnPartitionPropsMixin.PartitionInputProperty( parameters=parameters, storage_descriptor=glue_mixins.CfnPartitionPropsMixin.StorageDescriptorProperty( bucket_columns=["bucketColumns"], columns=[glue_mixins.CfnPartitionPropsMixin.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.CfnPartitionPropsMixin.SchemaReferenceProperty( schema_id=glue_mixins.CfnPartitionPropsMixin.SchemaIdProperty( registry_name="registryName", schema_arn="schemaArn", schema_name="schemaName" ), schema_version_id="schemaVersionId", schema_version_number=123 ), serde_info=glue_mixins.CfnPartitionPropsMixin.SerdeInfoProperty( name="name", parameters=parameters, serialization_library="serializationLibrary" ), skewed_info=glue_mixins.CfnPartitionPropsMixin.SkewedInfoProperty( skewed_column_names=["skewedColumnNames"], skewed_column_value_location_maps=skewed_column_value_location_maps, skewed_column_values=["skewedColumnValues"] ), sort_columns=[glue_mixins.CfnPartitionPropsMixin.OrderProperty( column="column", sort_order=123 )], stored_as_sub_directories=False ), values=["values"] ), table_name="tableName" )
Attributes
- catalog_id
The AWS account ID of the catalog in which the partion is to be created.
To specify the account ID, you can use the
Refintrinsic function with theAWS::AccountIdpseudo parameter. For example:!Ref AWS::AccountId
- database_name
The name of the catalog database in which to create the partition.
- partition_input
The structure used to create and update a partition.
- table_name
The name of the metadata table in which the partition is to be created.