keySchema property

List<KeySchemaElement>? keySchema
final

The primary key structure for the table. Each KeySchemaElement consists of:

  • AttributeName - The name of the attribute.
  • KeyType - The role of the attribute:
    • HASH - partition key
    • RANGE - sort key
For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer Guide.

Implementation

final List<KeySchemaElement>? keySchema;