Specifies the attributes that make up the primary key for a table or an index. The attributes in KeySchema must also be defined in
the AttributeDefinitions array. For more information, see Data Model in the Amazon DynamoDB Developer Guide.
Each KeySchemaElement in the array is composed of:
- AttributeName - The name of this key attribute.
- KeyType - Determines whether the key attribute is HASH or RANGE.
Constraints:
Declaration Syntax
C# |
public List<KeySchemaElement> KeySchema { get; set; }