keySchema property

List<KeySchemaElement>? keySchema
final

The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:

  • HASH - partition key
  • RANGE - sort key

Implementation

final List<KeySchemaElement>? keySchema;