Query
dynamodb.query
ActionAmazon Web Servicesconnection required
Calls the DynamoDB Query action (SigV4).
Query a DynamoDB table by key condition expression.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Amazon DynamoDB
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
6 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
region AWS region (overrides connection). | string | No | — | — | — |
table Table name. Supports {{ }}. | string | Yes | — | — | — |
key_condition KeyConditionExpression, e.g. id = :id. | string | Yes | — | — | — |
expression_values Values as plain JSON, e.g. {":id": "123"}. | object | Yes | — | — | {":id":"123"} |
limit Max items (1-1000). | number | No | 25 | ≥ 1 | — |
next_token Continues a previous run of this node, using that run's next_token output. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"expression_values": {
":id": "123"
},
"limit": 25
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items | array | — |
total Items on this page — DynamoDB's own Count, which is what the response held after limit and any filter, not the whole match. | number | — |
count | number | — |
next_token Cursor for the next page; empty when there are no further pages. | string | — |
{
"count": 0,
"items": [],
"next_token": "",
"total": 0
}Related Amazon DynamoDB nodes
See Query run in a workflow.
In a technical demo we add the Amazon DynamoDB connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.