delete-dynamodb-items

module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2021 License: MIT

README

delete-dynamodb-items

Bulk delete items from a DynamoDB table.

Download

You can get delete-dynamodb-items from the releases section of this GitHub repository. There you will find downloads for your operating system and CPU architecture.

Usage

Warning: running this command will result in all the items in the specified table to be deleted immediately! There is no "are you sure?" prompt.

delete-dynamodb-items <table name> [--endpoint=URL]

The program uses the default AWS credential algorithm to determine what IAM entity and region is used. E.g. the ~/.aws/credentials file, the AWS_* environment variables, etc.

Custom Endpoint

You can customize the DynamoDB endpoint with the --endpoint= (or -e) option. Set it to the URL of the endpoint. E.g. --endpoint=http://localhost:8002. If unspecified, the default AWS endpoints are used.

Build

Run the following to compile your own copy from source.

go get -v -t -d ./cmd/
go build -o delete-dynamodb-items -v ./cmd/

Directories

Path Synopsis
external
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL