Copy data from DynamoDB across accounts

This prompt creates a shell script to copy data from a target DynamoDB table to a source table.

Created Mar 20, 2025 Updated Mar 20, 2025 by cremich

Create a shell script to copy all data from a source DynamoDB table into a target DynamoDB table using the AWS CLI. Source and target tables are provisioned in different AWS accounts.

  • Use named profiles called “source” and “target” to connect to the target and source account.
  • Save scan results to a temporary directory
  • Processing each item individually

Related Content

Find Prompts, Rules & Agents

Search through our comprehensive library for Amazon Q Developer