Documentation

Go .NET Rust

Community Module

These modules are maintained by the community, outside of the Testcontainers project.

Description

Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability.

DynamoDB local is the downloadable version of Amazon DynamoDB that can be used to develop and test applications without accessing the DynamoDB web service. You can run DynamoDB locally on your computer in multiple ways, including a Docker container.

Examples

Dependency:
go get github.com/testcontainers/testcontainers-go/modules/dynamodb
Usage:
dynamodbContainer, err := dynamodblocal.Run(context.Background(), "amazon/dynamodb-local:2.2.1")
Dependency:
dotnet add package Testcontainers.DynamoDb
Usage:
var dynamoDbContainer = new DynamoDbBuilder()
  .WithImage("amazon/dynamodb-local:1.21.0")
  .Build();
await dynamoDbContainer.StartAsync();
Dependency:
cargo add -F dynamodb --dev testcontainers-modules
Usage:
testcontainers_modules::dynamodb_local::DynamoDb::default().start()