#!/bin/bash aws dynamodb create-table \ --table-name Events \ --key-schema \ AttributeName=AggregateTypeAndId,KeyType=HASH \ AttributeName=AggregateIdSequence,KeyType=RANGE \ --attribute-definitions \ AttributeName=AggregateTypeAndId,AttributeType=S \ AttributeName=AggregateIdSequence,AttributeType=N \ --billing-mode PAY_PER_REQUEST \ --endpoint-url http://localhost:8000 aws dynamodb create-table \ --table-name Snapshots \ --key-schema \ AttributeName=AggregateTypeAndId,KeyType=HASH \ --attribute-definitions \ AttributeName=AggregateTypeAndId,AttributeType=S \ --billing-mode PAY_PER_REQUEST \ --endpoint-url http://localhost:8000 aws dynamodb create-table \ --table-name TestViewTable \ --key-schema \ AttributeName=ViewId,KeyType=HASH \ --attribute-definitions \ AttributeName=ViewId,AttributeType=S \ --billing-mode PAY_PER_REQUEST \ --endpoint-url http://localhost:8000