Skip to content

AWS DynamoDB

Export Configuration#

Exporting a DynamoDB service through a Tranquil Data peer extends the configuration object with the following fields:

Field Name Type Required Default
endpoint string http://defaultServiceHost:8000
region string us-east-1
id string
key string

The value of type must be dynamodb.

The value of endpoint is of the form http://HOST:PORT, where the value for PORT is 8000 if absent.

The value of region is the AWS region that is being used.

The values of key and id are (respectively) the Access Key ID and Secret Access Key used to authenticate.

Context Interaction#

Context is formed by using objects that are of a well-known data format. Currently, Tranquil Data forms context from DynamoDB requests via attributes.

DynamoDB is by default, non-transactional. All operations will occur in a new session.

Context and policy evaluation are supported for the following DynamoDB operations:

  • GetItem
  • PutItem
  • UpdateItem - including all return values types. ALL_OLD and UPDATED_OLD have some performance implications (see note 1)
  • Scan

All other operations will be passed through to the backing DynamoDB instance without inspection.