Amazon DynamoDB · JSON Structure

Dynamodb Openapi Local Secondary Index Structure

Represents the properties of a local secondary index

Type: object Properties: 3 Required: 3
DatabaseDocument StoreKey-ValueNoSQLServerless

LocalSecondaryIndex is a JSON Structure definition published by Amazon DynamoDB, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

IndexName KeySchema Projection

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-dynamodb/refs/heads/main/json-structure/dynamodb-openapi-local-secondary-index-structure.json",
  "name": "LocalSecondaryIndex",
  "description": "Represents the properties of a local secondary index",
  "type": "object",
  "properties": {
    "IndexName": {
      "type": "string",
      "description": "The name of the local secondary index"
    },
    "KeySchema": {
      "type": "array",
      "description": "The complete key schema for the index",
      "items": {
        "$ref": "#/components/schemas/KeySchemaElement"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "Projection": {
      "$ref": "#/components/schemas/Projection"
    }
  },
  "required": [
    "IndexName",
    "KeySchema",
    "Projection"
  ]
}