Amazon DynamoDB · Schema

KeySchemaElement

CloudDatabaseDocument StoreKey-ValueManaged ServiceNoSQLServerless

Properties

Name Type Description
AttributeName string The name of a key attribute
KeyType string The role of the key attribute: HASH (partition key) or RANGE (sort key)
View JSON Schema on GitHub

JSON Schema

dynamodb-key-schema-element-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "KeySchemaElement",
  "type": "object",
  "properties": {
    "AttributeName": {
      "type": "string",
      "description": "The name of a key attribute"
    },
    "KeyType": {
      "type": "string",
      "description": "The role of the key attribute: HASH (partition key) or RANGE (sort key)"
    }
  }
}