Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src
Cargo.toml
README.md

README.md

Example of running Rusoto against a local DynamoDB instance

Start local Dynamo

Download from Amazon. This example uses the Java jar.

Run it:

$ java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb

Run the executable against it

Supply some fake AWS credentials, as any credentials work for the local version:

$ AWS_ACCESS_KEY_ID=foo AWS_SECRET_ACCES_KEY=bar cargo run

Custom Region in Rusoto

See main.rs.

Deleting the local Dynamo data

Where the java command was run, delete the shared-local-instance.db file:

$ rm shared-local-instance.db