craftship / dynamodb

Docker image to run DynamoDB Local

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DynamoDB Local

This Docker repo creates a Docker image for the latest version of DynamoDB local.

Usage

FROM craftship/dynamodb:latest

AWS CLI

You can also use the AWS CLI against DynamoDB local once you have it up and running using the relevant --endpoint-url argument. For example:

aws dynamodb create-table \
  --table-name TableName  \
  --attribute-definitions \
    AttributeName=id,AttributeType=S --key-schema \
    AttributeName=id,KeyType=HASH \
  --provisioned-throughput ReadCapacityUnits=2,WriteCapacityUnits=2 \
  --endpoint-url http://localhost:8000

Useful Links

Introduction to DynamoDB

Amazon DynamoDB Local for Desktop Development

Amazon DynamoDB CLI Reference

About

Docker image to run DynamoDB Local

License:MIT License