Category: amazon

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