https://github.com/insight-architectures/dotnet-tool-clone-dynamodb-table
A .NET global tool that copies a AWS DynamoDB table and its content from one account into another or into a local instance.
https://github.com/insight-architectures/dotnet-tool-clone-dynamodb-table
aws-dynamodb dotnet-core dotnet-global-tool dotnet-tool
Last synced: 6 months ago
JSON representation
A .NET global tool that copies a AWS DynamoDB table and its content from one account into another or into a local instance.
- Host: GitHub
- URL: https://github.com/insight-architectures/dotnet-tool-clone-dynamodb-table
- Owner: insight-architectures
- Created: 2021-06-15T14:45:52.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-11T17:03:58.000Z (about 1 year ago)
- Last Synced: 2024-11-03T06:11:50.307Z (7 months ago)
- Topics: aws-dynamodb, dotnet-core, dotnet-global-tool, dotnet-tool
- Language: C#
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Insight Architectures Clone DynamoDB Table .NET Tool
This .NET global tool can be used to clone an AWS DynamoDB table and its content from one account into another or into a local instance.
## Installation
To install this tool, simply execute the following command in your terminal of choice
```sh
$ dotnet tool install InsightArchitectures.Tools.CloneDynamoDbTable
```Note that you'll need a tool manifest to be able to install any tool locally.
Alternatively, you can install the tool globally using the `-g` switch
```sh
$ dotnet tool install -g InsightArchitectures.Tools.CloneDynamoDbTable
```## Usage
Once installed, either locally or globally, you can use the command by running the following command
```sh
$ dotnet clone-dynamodb-table [options]
```The tool can be configured using the following options
|Option|Description|Required|Default|
|-|-|-|-|
|`--source-table-name `|The source table to copy.|yes||
|`--source-profile `|The profile to be used to access the source table.|no||
|`--source-region `|The region where the source table is located.|no||
|`--source-service-url `|The service url to be used to access the source table.|no||
|`--source-access-key `|The access key to be used to access the source table.|no||
|`--source-secret-key `|The secret key to be used to access the source table.|no||
|`--target-table-name `|The target table to copy.|no||
|`--target-profile `|The profile to be used to access the target table.|no||
|`--target-region `|The region where the target table is located.|no||
|`--target-service-url `|The service url to be used to access the target table.|no||
|`--target-access-key `|The access key to be used to access the target table.|no||
|`--target-secret-key `|The secret key to be used to access the target table.|no||
|`--settings-file-path `|The path to a JSON file containing settings to be used.|no||
|`--clone-content`|Specifies whether the content of the source table should be cloned in the target table.|no|`False`|