interface CfnPartitionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins.CfnPartitionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/mixins#CfnPartitionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnPartitionMixinProps |
Python | aws_cdk.mixins_preview.aws_glue.mixins.CfnPartitionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_glue » mixins » CfnPartitionMixinProps |
Properties for CfnPartitionPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-partition.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as glue_mixins } from '@aws-cdk/mixins-preview/aws-glue';
declare const parameters: any;
declare const skewedColumnValueLocationMaps: any;
const cfnPartitionMixinProps: glue_mixins.CfnPartitionMixinProps = {
catalogId: 'catalogId',
databaseName: 'databaseName',
partitionInput: {
parameters: parameters,
storageDescriptor: {
bucketColumns: ['bucketColumns'],
columns: [{
comment: 'comment',
name: 'name',
type: 'type',
}],
compressed: false,
inputFormat: 'inputFormat',
location: 'location',
numberOfBuckets: 123,
outputFormat: 'outputFormat',
parameters: parameters,
schemaReference: {
schemaId: {
registryName: 'registryName',
schemaArn: 'schemaArn',
schemaName: 'schemaName',
},
schemaVersionId: 'schemaVersionId',
schemaVersionNumber: 123,
},
serdeInfo: {
name: 'name',
parameters: parameters,
serializationLibrary: 'serializationLibrary',
},
skewedInfo: {
skewedColumnNames: ['skewedColumnNames'],
skewedColumnValueLocationMaps: skewedColumnValueLocationMaps,
skewedColumnValues: ['skewedColumnValues'],
},
sortColumns: [{
column: 'column',
sortOrder: 123,
}],
storedAsSubDirectories: false,
},
values: ['values'],
},
tableName: 'tableName',
};
Properties
| Name | Type | Description |
|---|---|---|
| catalog | string | The AWS account ID of the catalog in which the partion is to be created. |
| database | string | The name of the catalog database in which to create the partition. |
| partition | IResolvable | Partition | The structure used to create and update a partition. |
| table | string | The name of the metadata table in which the partition is to be created. |
catalogId?
Type:
string
(optional)
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
databaseName?
Type:
string
(optional)
The name of the catalog database in which to create the partition.
partitionInput?
Type:
IResolvable | Partition
(optional)
The structure used to create and update a partition.
tableName?
Type:
string
(optional)
The name of the metadata table in which the partition is to be created.

.NET
Go
Java
Python
TypeScript