Categorygithub.com/d-tsuji/dynamodbtruncator
modulepackage
0.1.3
Repository: https://github.com/d-tsuji/dynamodbtruncator.git
Documentation: pkg.go.dev

# README

dynamodbtruncator (Truncate table for DynamoDB)

Test Status MIT License Go Report Card

dynamodbtruncator truncate tables for DynamoDB.

Usage

$ dynamodbtruncator [options]

Options

--profile string
	The name of the profile from which the session can be obtained (default `default`)

--table string
	Trucated tables. Multiple tables can be specified separated by commas.
	e.g. table or table1,table2,table3

Example

$ dynamodbtruncator --table hoge-table --profile my-profile

Installation

  • From source code
# go get
$ go get github.com/d-tsuji/dynamodbtruncator/cmd/dynamodbtruncator
  • From binary
# binary
$ curl -sfL https://raw.githubusercontent.com/d-tsuji/dynamodbtruncator/master/install.sh | sudo sh -s -- -b /usr/local/bin

# Packages

No description provided by the author
Package testonly holds test-specific code for dynamodbtruncator.

# Functions

New generates the DB from the AWS configuration.

# Constants

Version is the version to be displayed in the command line help message.

# Structs

DB is a DynamoDB client.
Table handles the DynamoDB table specified by name.

# Type aliases

Tables handles multiple tables.