interface PartitionIndex
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Glue.PartitionIndex |
![]() | software.amazon.awscdk.services.glue.PartitionIndex |
![]() | aws_cdk.aws_glue.PartitionIndex |
![]() | @aws-cdk/aws-glue » 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.