1.0.2 • Published 7 years ago

dynamodb-copy-table-data v1.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

dynamodb-copy-table-data

script copies data from dynamoDb table of old region to new region where s3 pipeline services are not available yet.

const dynamodbCopyTableData = require('dynamodb-copy-table-data);

let myTables = ["users", "admin"];

let credentials = {"accessKeyId": "YOUR_accessKeyId", "secretAccessKey": "YOUR_secretAccessKey"};

let oldRegion = "us-east-1";

let newregion = "ap-southeast-1";

yield dynamodbCopyTableData.copyData(myTables, credentials, oldRegion, newregion);

Your tables would be copied. Thanks!