Created
January 12, 2015 15:57
-
-
Save mungi/a4e16e183d705e3e0313 to your computer and use it in GitHub Desktop.
Connecting to DynamoDB Local from boto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://sebastiandahlgren.se/2014/06/27/connecting-to-dynamodb-local-from-boto/ | |
from boto.dynamodb2.layer1 import DynamoDBConnection | |
connection = DynamoDBConnection( | |
aws_access_key_id='foo', # Dummy access key | |
aws_secret_access_key='bar', # Dummy secret key | |
host='localhost', # Host where DynamoDB Local resides | |
port=8000, # DynamoDB Local port (8000 is the default) | |
is_secure=False) # Disable secure connections |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment