aws-dynamodb
Manage tables and items in Amazon DynamoDB.
TLDR
Create a table with a partition key
SYNOPSIS
aws dynamodb command [options]
DESCRIPTION
aws dynamodb is the AWS CLI interface for Amazon DynamoDB, a fully managed NoSQL key-value and document database. DynamoDB provides single-digit millisecond performance at any scale with built-in security, backup, and in-memory caching.
Tables store items identified by primary keys (partition key, or partition + sort key). DynamoDB supports on-demand and provisioned capacity modes, global tables for multi-region replication, and transactions for ACID operations.
COMMANDS
create-table
Create a new DynamoDB tabledelete-table
Delete a tabledescribe-table
Get table metadata and statusput-item
Insert or replace an itemget-item
Retrieve an item by primary keyupdate-item
Modify item attributesdelete-item
Remove an item by primary keyquery
Retrieve items by partition key with optional filteringscan
Read all items in a tablebatch-write-item
Write or delete multiple items across tablestransact-write-items
Execute multiple writes atomically
CAVEATS
Item size is limited to 400KB. Scan operations read the entire table and can be expensive on large tables. Query is preferred over scan for performance. Provisioned capacity can lead to throttling if exceeded. Eventually consistent reads are the default; strongly consistent reads cost more.
HISTORY
Amazon DynamoDB launched in January 2012 as a successor to SimpleDB. Global Tables for multi-region replication came in 2017, on-demand capacity mode in 2018, and PartiQL query language support in 2020. It remains one of AWS's most widely used database services.
SEE ALSO
aws(1), aws-dynamodbstreams(1), aws-rds(1)
