Sample generative AI tool on Amazon Bedrock that evaluates IaC templates and architecture diagrams against AWS Well-Architected best practices.
aws-samples/aws-dynamodb-examples
A collection of code samples, SDK examples, schema design patterns and IaC templates for building on Amazon DynamoDB.
- Stars
- 605
- Forks
- 242
- Open issues
- 25
- Last commit
- 5 days ago
What is it?
This repository collects sample code and reference material for Amazon DynamoDB, AWS's managed NoSQL database. It is organized by folder: SDK examples in Node.js, Java, Python, .NET, Go, Rust and Ruby; infrastructure-as-code templates for deploying DynamoDB resources; schema design patterns for modeling tables; utility scripts; and workshops that walk through real-world scenarios.
A separate section shows how to combine DynamoDB with Amazon Bedrock. It includes examples of storing chat history in DynamoDB so LLM-based chatbots can keep context across sessions, with a Streamlit web chatbot as a working example. Deprecated samples are kept in an archived folder.
The project is maintained by AWS as a community-driven sample repository, and contributors are invited to submit new samples or improvements through pull requests.
Key features
- 01Sample code for DynamoDB in seven programming languages via the AWS SDKs
- 02Infrastructure-as-code templates for deploying DynamoDB resources
- 03Schema design patterns for modeling DynamoDB tables
- 04Utility scripts for operating on DynamoDB tables
- 05Examples of storing chat history in DynamoDB with Amazon Bedrock LLMs
Use cases
- Learning how to call DynamoDB from a specific language SDK
- Deploying DynamoDB tables with infrastructure as code
- Designing data models for a new DynamoDB-backed application
- Building a context-aware chatbot that persists conversation history
Quick start
- 1
Open the language folder for your SDK from the README badges and follow its setup instructions
Things to know
- This is a collection of samples and templates, not a single installable library or application.
- The archived folder holds deprecated samples that may no longer work.
Topics
FAQ
- What is aws-dynamodb-examples?
- A collection of code samples, SDK examples, schema design patterns and IaC templates for building on Amazon DynamoDB. This repository collects sample code and reference material for Amazon DynamoDB, AWS's managed NoSQL database. It is organized by folder: SDK examples in Node.js, Java, Python, .NET, Go, Rust and Ruby; infrastructure-as-code templates for deploying DynamoDB resources; schema design patterns for modeling tables; utility scripts; and workshops that walk through real-world scenarios.
- Is aws-dynamodb-examples free to use? What license does it have?
- aws-dynamodb-examples is open source under the MIT-0 license. Check the license terms before using it in commercial products.
- Is aws-dynamodb-examples still maintained?
- Actively maintained. The last commit to aws-dynamodb-examples was on Nov 2, 2026.
- What can I use aws-dynamodb-examples for?
- Learning how to call DynamoDB from a specific language SDK Deploying DynamoDB tables with infrastructure as code Designing data models for a new DynamoDB-backed application Building a context-aware chatbot that persists conversation history
- How do I install aws-dynamodb-examples?
- Open the language folder for your SDK from the README badges and follow its setup instructions
- Where can I get aws-dynamodb-examples?
- The source code and installation instructions are on GitHub: https://github.com/aws-samples/aws-dynamodb-examples
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A CLI and YAML-based framework for deploying code and cloud infrastructure, mainly on AWS Lambda and other managed cloud services.
Infrastructure as Code CLI and engine that lets you define and deploy cloud resources using general-purpose programming languages.
Open-source TypeScript and Go backend framework where databases, Pub/Sub, buckets, caches and cron jobs are declared in code and run locally, then deployed to your AWS or GCP account.
A collection of open source MCP servers that give AI assistants access to AWS documentation, services, and tooling.
Multi-language framework for cloud backends that infers infrastructure from application code and deploys to AWS, GCP, or Azure.