dynamodb-gsi-nonunique-partition-key-sort-key-disambiguates

Status: IN

When a DynamoDB GSI partition key is non-unique (e.g., same URL bookmarked by multiple customers), the sort key is used to disambiguate — as demonstrated by the Bookmarks model's ByUrl index using customerId as sort key.

Source: entries/2026/03/11/amazondynamodb-latest-developerguide-workbenchSampleModelshtml.md

JSON