DynamoDB

Supports:

  • ✅ Models
  • ✅ Bulk sync source

Connection

Configuration

NameTypeDescriptionRequired
access_idstringAWS Access ID

(required if auth_mode is “access_key_and_secret”)
false
auth_modestringAuthentication Method

How to authenticate with AWS. Defaults to Access Key and Secret. Accepted values: access_key_and_secret, iam_role
true
change_detectionbooleanUse DynamoDB Streams for bulk syncsfalse
iam_role_arnstringIAM Role ARN

(required if auth_mode is “iam_role”)
false
managed_streamsbooleanLet Polytomic manage DynamoDB Stream settingsfalse
regionstringAWS regiontrue
secret_access_keystringAWS Secret Access Key

(required if auth_mode is “access_key_and_secret”)
false

Example

1{
2 "name": "DynamoDB connection",
3 "type": "dynamodb",
4 "configuration": {
5 "access_id": "AKIAIOSFODNN7EXAMPLE",
6 "auth_mode": "access_key_and_secret",
7 "change_detection": false,
8 "iam_role_arn": "",
9 "managed_streams": false,
10 "region": "us-east-1",
11 "secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
12 }
13}

Read-only properties

NameTypeDescriptionRequired
aws_userstringUser ARNfalse
external_idstringExternal ID for the IAM rolefalse

Model Sync

Source

Configuration

NameTypeDescriptionRequired
consistentbooleanConsistentfalse
indexstringIndexfalse
querystringQueryfalse
tablestringTablefalse

Example

1{
2 ...
3 "configuration": {
4 "consistent": false,
5 "index": "index",
6 "query": "select * from users",
7 "table": "users"
8 }
9}