Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 976 Bytes

File metadata and controls

31 lines (16 loc) · 976 Bytes

Dynamodb Queries

Prerequisites

  1. AWS CLI installed and configured (aws configure)
  2. Appropriate IAM permissions for the AWS services used

Step 1: Creating table with GSI

The script handles this step automatically. See dynamodb-queries.sh for the exact CLI commands.

Step 2: Writing items

The script handles this step automatically. See dynamodb-queries.sh for the exact CLI commands.

Step 3: Query by partition key

The script handles this step automatically. See dynamodb-queries.sh for the exact CLI commands.

Step 4: Query GSI (active users)

The script handles this step automatically. See dynamodb-queries.sh for the exact CLI commands.

Step 5: Scan with filter

The script handles this step automatically. See dynamodb-queries.sh for the exact CLI commands.

Cleanup

The script prompts you to clean up all created resources. If you need to clean up manually, check the script log for the resource names that were created.