PartitionIndex Struct
Properties of a Partition Index.
Example
ts
declare const myTable: glue.S3Table;
myTable.addPartitionIndex({
indexName: 'my-index',
keyNames: ['year'],
});
Properties
indexNamestringindex_namestrindexNameStringIndexNamestringIndexName*string= a name will be generated for you…#The name of the partition index.
default
Default: a name will be generated for you.
keyNamesstring[]key_namestyping.List[str]keyNamesList<String>KeyNamesstring[]KeyNames*[]*stringrequired#The partition key names that comprise the partition index.
The names must correspond to a name in the table's partition keys.