DynamoDB

Supports:

  • ✅ Models
  • ✅ Bulk sync source

Connection

Configuration

NameTypeDescriptionRequired
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 syncs false
regionstringAWS regiontrue

auth_mode

When auth_mode is access_key_and_secret
NameTypeDescriptionRequired
access_idstringAWS Access IDtrue
secret_access_keystringAWS Secret Access Keytrue
When auth_mode is iam_role
NameTypeDescriptionRequired
iam_role_arnstringIAM Role ARNtrue

change_detection

When change_detection is true
NameTypeDescriptionRequired
managed_streamsbooleanLet Polytomic manage DynamoDB Stream settingsfalse

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 "region": "us-east-1",
9 "secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
10 }
11}

Read-only properties

NameTypeDescriptionRequired

auth_mode

When auth_mode is access_key_and_secret
NameTypeDescriptionRequired
aws_userstringUser ARNfalse
When auth_mode is iam_role
NameTypeDescriptionRequired
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}