docs: function DynamoDB(options) {
  
    options = options || {};
  
    var awsConf = {
      // don't put AWS credentials in files. Use IAM, ~/.aws/credentials with $AWS_PROFILE, or env vars
      // see: http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html
      // example using credentials file with $AWS_PROFILE:
      // $ AWS_PROFILE=my-non-default-profile npm test
      region: "us-west-2",
      endpointConf: {}
    };
  
    // support setting a specific endpoint for dynamodb (ex: DynamoDB local)
    // examples usage for testing:
    // $ AWS_DYNAMODB_ENDPOINT=http://localhost:8000 npm test
    if (process.env["AWS_DYNAMODB_ENDPOINT"]) {
      awsConf.endpointConf = { endpoint: process.env["AWS_DYNAMODB_ENDPOINT"] };
    }
  
    this.options = _.defaults(options, awsConf);
  
    var defaults = {
      eventsTableName: 'events',
      undispatchedEventsTableName: 'undispatchedevents',
      snapshotsTableName: 'snapshots',
      // 3 write units / 1 read unit for events & undispatched is just low enough
      // to trigger throttling w/o hitting the 20 test timeout. Takes about 5 minutes to run storeTest.js.
      UndispatchedEventsReadCapacityUnits: 1,
      UndispatchedEventsWriteCapacityUnits: 3,
      EventsReadCapacityUnits: 1,
      EventsWriteCapacityUnits: 3,
      SnapshotReadCapacityUnits: 1,
      SnapshotWriteCapacityUnits: 1,
      useUndispatchedEventsTable: true,
      eventsTableStreamEnabled: false,
      eventsTableStreamViewType: "NEW_IMAGE"
    };
  
    this.options = _.defaults(this.options, defaults);
  }