← ClaudeAtlas

aws-dynamodblisted

AWS DynamoDB single-table design, GSI patterns, SDK v3 TypeScript/Python
lciacci/tessera · ★ 0 · DevOps & Infrastructure · score 66
Install: claude install-skill lciacci/tessera
# AWS DynamoDB Skill DynamoDB is a fully managed NoSQL database designed for single-digit millisecond performance at any scale. Master single-table design and access pattern modeling. **Sources:** [DynamoDB Docs](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/) | [SDK v3](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/) | [Best Practices](https://aws.amazon.com/blogs/database/single-table-vs-multi-table-design-in-amazon-dynamodb/) --- ## Core Principle **Design for access patterns, not entities. Think access-pattern-first.** DynamoDB requires you to know your queries before designing your schema. Model around how you'll access data, not how data relates. Single-table design stores multiple entity types in one table using generic key attributes. --- ## Key Concepts | Concept | Description | |---------|-------------| | **Partition Key (PK)** | Primary key attribute - determines data distribution | | **Sort Key (SK)** | Optional secondary key for range queries within partition | | **GSI** | Global Secondary Index - alternate partition/sort keys | | **LSI** | Local Secondary Index - same partition, different sort | | **Item** | Single record (max 400 KB) | | **Attribute** | Field within an item | --- ## Single-Table Design ### Why Single Table? - Fetch related data in single query - Reduce round trips and costs - Enable transactions across entity types - Simplify operations (backup, restore, IAM) ### Generic Key Pattern ```t