How to use aws-cli with local dynamoDB?

I am struggling using aws-cli with dynamoDB running on my local machine, can anyone help.

DynamoDB Local with the following configuration:

Port:   8000
InMemory:   false
DbPath: null
SharedDb:   true
shouldDelayTransientStatuses:   false
CorsParams: *

any help appreciated.

+4
source share
2 answers

From the documentation :

Using AWS CLI with DynamoDB Downloadable

AWS CLI can interact with DynamoDB running on your computer. To enable this, add the -endpoint-url parameter for each command:

- endpoint-url http: // localhost: 8000

Here is an example of using AWS CLI to display tables in a local database:

aws dynamodb list-tables --endpoint-url http://localhost:8000
+4
source

, AWS CLI.

, .

: []: us-west-2

,

0

Source: https://habr.com/ru/post/1628947/


All Articles