Installing AWS cli

Step 1 : Install the aws cli in your machine
Step 2 : Open commnad prompt and type aws configure
Ex: default configuration
C:>aws configure
AWS Access Key ID [None]: foo
AWS Secret Access Key [None]: bar
Default region name [None]: us-east-1
Default output format [None]:

Now configuration is completed.

AWS cli commands:

Command to create table pointing to local DynamoDB

aws –endpoint-url=http://localhost:8000 dynamodb –region=us-east-1 create-table –cli-input-json file://employee.json

Command delete table
aws dynamodb delete-table –table-name employee

Ref: https://cloudacademy.com/blog/amazon-dynamodb-ten-things/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s