Menu
Amazon DynamoDB
Developer Guide (API Version 2012-08-10)

Setting the Local Endpoint

By default, the AWS SDKs and tools use endpoints for the Amazon DynamoDB web service. To use the SDKs and tools with the downloadable version of DynamoDB, you must specify the local endpoint:

http://localhost:8000

AWS Command Line Interface

You can use the AWS Command Line Interface to interact with downloadable DynamoDB. For example, you can use it to perform all the steps in Creating Tables and Loading Sample Data.

To access DynamoDB running locally, use the --endpoint-url parameter. The following is an example of using the AWS CLI to list the tables in DynamoDB on your computer:

Copy
aws dynamodb list-tables --endpoint-url http://localhost:8000

Note

The AWS CLI can't use the downloadable version of DynamoDB as a default endpoint; therefore, you must specify --endpoint-url with each AWS CLI command.

AWS SDKs

The way you specify an endpoint depends on the programming language and AWS SDK you're using. The following sections describe how to do this:

Note

For examples in other programming languages, see Getting Started with DynamoDB.