[[AWS CLI]]の `aws dynamodb create-table` コマンドを使う。 ```console aws dynamodb create-table \ --table-name users \ --billing-mode PAY_PER_REQUEST \ --attribute-definitions '[ {"AttributeName": "Id", "AttributeType": "S"} ]' \ --key-schema '[ { "AttributeName": "Id", "KeyType": "HASH"} ]' ``` ## MOC - 📒**関連** - 📜**アクティビティ** - 📝**トラブルシューティング** - [[DynamoDBのテーブル作成時にattributesの数がschemaと一致しないというエラー]] - [[DynamoDBのテーブル作成時にNo provisioned throughput specified for the table]]