Skip to content

Instantly share code, notes, and snippets.

@sebdah
Last active August 29, 2015 14:03
Show Gist options
  • Save sebdah/91b8eb5509a19e7b9401 to your computer and use it in GitHub Desktop.
Save sebdah/91b8eb5509a19e7b9401 to your computer and use it in GitHub Desktop.
Connect 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