Using Amazon DynamoDB with the AWS CLI - AWS Command Line Interface

PHOTO EMBED

Sun Jan 23 2022 00:42:13 GMT+0000 (Coordinated Universal Time)

Saved by @ericblancosf

$ aws dynamodb create-table \
    --table-name MusicCollection \
    --attribute-definitions AttributeName=Artist,AttributeType=S AttributeName=SongTitle,AttributeType=S \
    --key-schema AttributeName=Artist,KeyType=HASH AttributeName=SongTitle,KeyType=RANGE \
    --provisioned-throughput ReadCapacityUnits=1,WriteCapacityUnits=1
content_copyCOPY

https://docs.aws.amazon.com/cli/latest/userguide/cli-services-dynamodb.html