interface PartitionIndex
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.Alpha.PartitionIndex |
Go | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#PartitionIndex |
Java | software.amazon.awscdk.services.glue.alpha.PartitionIndex |
Python | aws_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
| Name | Type | Description |
|---|---|---|
| key | string[] | The partition key names that comprise the partition index. |
| index | string | The 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.

.NET
Go
Java
Python
TypeScript (