Skip to content

Commit

Permalink
Update README for customized endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
halprin committed Feb 28, 2021
1 parent c794814 commit 2022c36
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@ _**Warning**: running this command will result in all the items in the specified
is no "are you sure?" prompt._

```shell
delete-dynamodb-items <table name>
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.
Expand Down

0 comments on commit 2022c36

Please sign in to comment.