@aws-cdk_aws-glue-alpha.PartitionIndex

interface PartitionIndex ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Glue.Alpha.PartitionIndex
Gogithub.com/aws/aws-cdk-go/awscdkgluealpha/v2#PartitionIndex
Javasoftware.amazon.awscdk.services.glue.alpha.PartitionIndex
Pythonaws_cdk.aws_glue_alpha.PartitionIndex
TypeScript (source)@aws-cdk/aws-glue-alpha ยป PartitionIndex

Properties of a Partition Index.

Example

declare const myTable: glue.Table;
myTable.addPartitionIndex({
  indexName: 'my-index',
  keyNames: ['year'],
});

Properties

NameTypeDescription
keyNames๐Ÿ”นstring[]The partition key names that comprise the partition index.
indexName?๐Ÿ”นstringThe name of the partition index.

keyNames๐Ÿ”น

Type: string[]

The partition key names that comprise the partition index.

The names must correspond to a name in the table's partition keys.


indexName?๐Ÿ”น

Type: string (optional, default: a name will be generated for you.)

The name of the partition index.