Control Plane Operations

Control plane operations let you create and manage DynamoDB tables. They also let you work with indexes, streams, and other objects that are dependent on tables.

Documentation

SDK & Tools

Create a table

The sample code here will create a table with the name test.

aws dynamodb create-table \
    --table-name  test \
    --attribute-definitions \
       AttributeName=PK,AttributeType=S AttributeName=SK,AttributeType=S  \
    --key-schema \
       AttributeName=PK,KeyType=HASH \
       AttributeName=SK,KeyType=RANGE \
    --provisioned-throughput \
        ReadCapacityUnits=1,WriteCapacityUnits=1