--- id: dynamodb title: DynamoDB --- **DynamoDB** is a managed non-relational database service provided by Amazon. ToolJet has the capability to connect to DynamoDB for reading and writing data.
#### Example
```json
{
"Key": {
"ForumName": {
"S": "Amazon DynamoDB"
},
"Subject": {
"S": "How do I update multiple items?"
}
}
```
#### Example
```yaml
{
"TableName": "Reply",
"IndexName": "PostedBy-Index",
"Limit": 3,
"ConsistentRead": true,
"ProjectionExpression": "Id, PostedBy, ReplyDateTime",
"KeyConditionExpression": "Id = :v1 AND PostedBy BETWEEN :v2a AND :v2b",
"ExpressionAttributeValues":
{
":v1": { "S": "Amazon DynamoDB#DynamoDB Thread 1" },
":v2a": { "S": "User A" },
":v2b": { "S": "User C" },
},
"ReturnConsumedCapacity": "TOTAL",
}
```
#### Example
```yaml
{ "TableName": "
#### Example
```yaml
{
"Key":
{
"ForumName": { "S": "Amazon DynamoDB" },
"Subject": { "S": "How do I update multiple items?" },
},
"ConditionExpression": "attribute_not_exists(Replies)",
"ReturnValues": "ALL_OLD",
}
```
#### Example
```yaml
{
"TableName": "USER_DETAILS_with_local",
"Key": { "USER_ID": 1, "USER_NAME": "Nick" },
"UpdateExpression": "set USER_AGE = :age, USER_FEE = :fee",
"ExpressionAttributeValues": { ":age": 40, ":fee": 230545 },
}
```
#### Example
```yaml
{
"AttributeDefinitions":
[
{ "AttributeName": "USER_ID", "AttributeType": "N" },
{ "AttributeName": "USER_FEE", "AttributeType": "N" },
],
"KeySchema": [{ "AttributeName": "USER_ID", "KeyType": "HASH" }],
"LocalSecondaryIndexes":
[
{
"IndexName": "USER_FEE",
"KeySchema":
[
{ "AttributeName": "USER_ID", "KeyType": "HASH" },
{ "AttributeName": "USER_FEE", "KeyType": "RANGE" },
],
"Projection": { "ProjectionType": "KEYS_ONLY" },
},
],
"ProvisionedThroughput": { "ReadCapacityUnits": 1, "WriteCapacityUnits": 1 },
"TableName": "USER_FEE_LOCAL",
"StreamSpecification": { "StreamEnabled": false },
}
```
#### Example
```yaml
{
"TableName": "USER_DETAILS_with_localS",
"Item":
{ "USER_ID": 1, "USER_NAME": "NICK", "USER_AGE": 34, "USER_FEE": 1234.56 },
}
```