An open API service indexing awesome lists of open source software.

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.

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`|