Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 660 Bytes

File metadata and controls

39 lines (24 loc) · 660 Bytes

Dynamodb Queries

An AWS CLI tutorial that demonstrates Dynamodb operations.

Running

bash dynamodb-queries.sh

To auto-run with cleanup:

echo 'y' | bash dynamodb-queries.sh

What it does

  1. Creating table with GSI
  2. Writing items
  3. Query by partition key
  4. Query GSI (active users)
  5. Scan with filter

Resources created

  • Table
  • Item

The script prompts you to clean up resources when it finishes.

Cost

Free tier eligible for most operations. Clean up resources after use to avoid charges.

Related docs