[AWS CLI] Get a single item from DynamoDB

Created on November 30, 2026

Use aws dynamodb get-item with the table name and the item's primary key. This example looks up string key 1 in DummyTable.

aws dynamodb get-item --table-name DummyTable --key '{"id": {"S": "1"}}'

Example response

{
    "Item": {
        "id": {
            "S": "1"
        },
        "name": {
            "S": "suzuki"
        },
        "age": {
            "N": "10"
        }
    }
}
AWS CLI DynamoDB AWS