Skip to main content

Amazon DynamoDB Connector

Amazon DynamoDB Create, update, fetch, or delete items in an Amazon (AWS) DynamoDB database

Connections

AWS Role ARN

Connect to AWS using an assumed role

To enable the IAM role authentication begin by logging into the AWS Console and navigate to Identity and Access Management (IAM).

To create an ARN user and generate credentials:

  1. Navigate to Users and select Create User.
  • Provide a User name and check the box providing them user access to the AWS Management Console if needed.
  • Once completed with the User creation, copy the ARN provided in the summary for a later step.
  1. To obtain the ARN for an existing User, click on the designated username from the Users page and the ARN will be provided in the summary section.
  2. From the summary section, select Create access key
  • Select Third-party service as the access key type and select next.
  • Set a description and select create access key.
  • Copy the Access Key and Secret access key and enter those into the connection configuration of your integration along with the ARN.

To create and assign a user a role:

  1. Navigate to Roles and select Create Role.
  • Select Custom Trust Policy for the Trusted entity types
  • Copy the following statement into the statement console. Making sure to replace the ARN with the user's actual ARN from the previous section
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "ARN"
},
"Action": "sts:AssumeRole"
}
]
}
  • When adding permissions provide the AmazonDynamoDBFullAccess permission
  • Complete remaining steps and select Create Role
InputCommentsDefault
Role ARNAn AWS IAM Role ARN
Access Key IDAn AWS IAM Access Key ID
Secret Access KeyAn AWS IAM Secret Access Key
External IDProvides enhanced security measures to the connection. Optional, but recommended. Please check AWS docs for more information.

DynamoDB Access Key and Secret

Authenticates requests to Amazon DynamoDB using an API Key and API Secret.

An AWS IAM access key pair is required to interact with Amazon DynamoDB. Make sure that the key pair you generate in AWS has proper permissions to the DynamoDB resources you want to access. Read more about DynamoDB IAM actions in the AWS docs.

InputCommentsDefault
Access Key IDAn AWS IAM Access Key ID
Secret Access KeyAn AWS IAM Secret Access Key

Actions

Create Table

Create a new DynamoDB Table

InputCommentsDefault
AWS RegionAWS provides services in multiple regions, like us-west-2 or eu-west-1.
Table NameProvide the name of the table you would like to interact with.
Attribute DefinitionFor each list item, provide a javascript object containing an attribute name, and an attribute type. The attribute type must be in the format that DynamoDB uses: N = number, S = string, L = Array etc...
[
{
"AttributeName": "customerId",
"AttributeType": "N"
},
{
"AttributeName": "customerName",
"AttributeType": "S"
}
]
Key SchemaFor each list item, provide a javascript object containing an attribute name, and a key type. The key type can either be a HASH or a RANGE key.
[
{
"KeyType": "HASH",
"AttributeName": "customerId"
},
{
"KeyType": "RANGE",
"AttributeName": "customerName"
}
]
Billing ModeSelect the item that represents your desired billing mode.PROVISIONED
Read Capacity UnitsOne read capacity unit represents one strongly consistent read per second, or two eventually consistent reads per second, for an item up to 4 KB in size.5
Write Capacity UnitsOne write capacity unit represents one write per second for an item up to 1 KB in size. If you need to write an item that is larger than 1 KB, DynamoDB must consume additional write capacity units.5
Connection

Delete Item

Delete an item from a DynamoDB database

InputCommentsDefault
AWS RegionAWS provides services in multiple regions, like us-west-2 or eu-west-1.
Table NameProvide the name of the table you would like to interact with.
Hash / Primary Key ValueThe value of the hash key (primary key) to match
Range / Sort Key ValueThe value of the optional range key (sort key) to match. This is required if your table has a range key.
Condition Expression
Expression Attribute ValuesExpression attribute values in Amazon DynamoDB are substitutes for the actual values that you want to compare—values that you might not know until runtime. An expression attribute value must begin with a colon (:) and be followed by one or more alphanumeric characters.
Expression Attribute Value TypesThe DynamoDB data type for each query param. You must specify a type for each Expression Attribute Value you provided.
Connection

Delete Table

Delete an existing DynamoDB Table

InputCommentsDefault
AWS RegionAWS provides services in multiple regions, like us-west-2 or eu-west-1.
Table NameProvide the name of the table you would like to interact with.
Connection

Describe Table

Fetch metadata about an existing DynamoDB Table

InputCommentsDefault
AWS RegionAWS provides services in multiple regions, like us-west-2 or eu-west-1.
Table NameProvide the name of the table you would like to interact with.
Connection

Get Item

Retrieve an item from a DynamoDB database

InputCommentsDefault
AWS RegionAWS provides services in multiple regions, like us-west-2 or eu-west-1.
Table NameProvide the name of the table you would like to interact with.
Hash / Primary Key ValueThe value of the hash key (primary key) to match
Range / Sort Key ValueThe value of the optional range key (sort key) to match. This is required if your table has a range key.
Connection

List Tables

List all DynamoDB Tables

InputCommentsDefault
AWS RegionAWS provides services in multiple regions, like us-west-2 or eu-west-1.
Connection

Query Items

Query a DynamoDB table

InputCommentsDefault
AWS RegionAWS provides services in multiple regions, like us-west-2 or eu-west-1.
Table NameProvide the name of the table you would like to interact with.
Expression Attribute ValuesExpression attribute values in Amazon DynamoDB are substitutes for the actual values that you want to compare—values that you might not know until runtime. An expression attribute value must begin with a colon (:) and be followed by one or more alphanumeric characters.
Expression Attribute Value TypesThe DynamoDB data type for each query param. You must specify a type for each Expression Attribute Value you provided.
Key Condition ExpressionThe key condition expression for the query.
Filter ExpressionThe filter expression for the query.
Query ParametersThe DynamoDB data type for each query param. You must specify a type for each Expression Attribute Value you provided.
DebugEnable debug mode to log additional information.false
Connection

Raw Request

Execute single PartiQL statements.

InputCommentsDefault
AWS RegionAWS provides services in multiple regions, like us-west-2 or eu-west-1.
StatementThe PartiQL statement representing the operation to run.
ParametersThe parameters for the PartiQL statement, if any.
[
"Rose"
]
Query ParametersThe DynamoDB data type for each query param. You must specify a type for each Expression Attribute Value you provided.
DebugEnable debug mode to log additional information.false
Connection

Update Item

Update an existing item in a DynamoDB database

InputCommentsDefault
AWS RegionAWS provides services in multiple regions, like us-west-2 or eu-west-1.
Table NameProvide the name of the table you would like to interact with.
Hash / Primary Key ValueThe value of the hash key (primary key) to match
Range / Sort Key ValueThe value of the optional range key (sort key) to match. This is required if your table has a range key.
Update ExpressionAn update expression specifies how UpdateItem will modify the attributes of an item. For example, setting a scalar value or removing elements from a list or a map.
Condition Expression
Expression Attribute ValuesExpression attribute values in Amazon DynamoDB are substitutes for the actual values that you want to compare—values that you might not know until runtime. An expression attribute value must begin with a colon (:) and be followed by one or more alphanumeric characters.
Expression Attribute Value TypesThe DynamoDB data type for each query param. You must specify a type for each Expression Attribute Value you provided.
Connection

Upsert Item

Creates a new item, or replaces an existing item with a new item

InputCommentsDefault
AWS RegionAWS provides services in multiple regions, like us-west-2 or eu-west-1.
Table NameProvide the name of the table you would like to interact with.
ValueProvide a key value record to be inserted into the specified table.
Value TypesFor each item in the list, provide the datatype corresponding to the input item.
Condition Expression
Expression Attribute ValuesExpression attribute values in Amazon DynamoDB are substitutes for the actual values that you want to compare—values that you might not know until runtime. An expression attribute value must begin with a colon (:) and be followed by one or more alphanumeric characters.
Expression Attribute Value TypesThe DynamoDB data type for each query param. You must specify a type for each Expression Attribute Value you provided.
Connection