Describes a primary key for the AWS::DynamoDB::Table resource or a key schema for an index. Each
element is composed of an
For the primary key of an Amazon DynamoDB table that consists of only a hash attribute, specify
one element with a
HASH. For the primary key of an
Amazon DynamoDB table that consists of a hash and range attributes, specify two elements: one with a
HASH and one with a
For a complete discussion of DynamoDB primary keys, see Primary Key in the Amazon DynamoDB Developer Guide.
The attribute name that is used as the primary key for this table. Primary key element names can be 1 – 255 characters long and have no character restrictions.
Represents the attribute data, consisting of the data type and the attribute
value itself. You can specify
For an example of a declared key schema, see AWS::DynamoDB::Table.