https://github.com/amulyakashyap09/dynamodb-copy-table-data
script copies data from dynamoDb table of old region to new region where s3 pipeline services are not available yet.
https://github.com/amulyakashyap09/dynamodb-copy-table-data
copy-table cross-region dynamodb
Last synced: 3 months ago
JSON representation
script copies data from dynamoDb table of old region to new region where s3 pipeline services are not available yet.
- Host: GitHub
- URL: https://github.com/amulyakashyap09/dynamodb-copy-table-data
- Owner: amulyakashyap09
- License: gpl-3.0
- Created: 2017-04-25T21:19:41.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-27T11:09:31.000Z (about 8 years ago)
- Last Synced: 2025-01-07T09:47:06.924Z (5 months ago)
- Topics: copy-table, cross-region, dynamodb
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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";`
`dynamodbCopyTableData.copyData(myTables, credentials, oldRegion, newregion);`
### Your tables would be copied. Thanks!