Amazon DynamoDB
List and describe tables, get, query, scan and batch-get with plain JSON or typed values, put/update (agents opt-in) and delete (node only)
Beta v0.1.0 Node.js 9 actions
About
A Graphrt plugin for Amazon DynamoDB. It calls the DynamoDB JSON API directly, signed with AWS Signature Version 4 (lib/aws-sigv4.mjs, a byte-identical copy of the s3 plugin's signer, verified against the official AWS SigV4 test suite). No AWS SDK, no npm dependencies.
What it can do
- Tables: list_tables (paginated) and describe_table (keys, attribute types, item count, size, billing mode, indexes, stream, deletion protection).
- Reads: get_item, query (key condition, filter, index, sort order), scan and batch_get_items (up to 100 keys, unprocessed keys are retried three times, any left over are returned in unprocessed_keys). Query and scan return one page (limit, default 100, at most 1000, DynamoDB also stops at 1 MB) and a next_cursor (the LastEvaluatedKey, encoded).
- Writes: put_item and update_item (condition expressions, return values) and delete_item (node only).
- Values: attribute_format: "plain" (default) takes and returns ordinary JSON: strings, numbers, booleans, null, arrays (L) and objects (M). Numbers that a JSON number cannot hold exactly come back as strings, string, number and binary sets come back as arrays, binary as base64. Use attribute_format: "typed" for DynamoDB JSON ({"S": "x"}, {"SS": ["a"]}, {"N": "1.50"}) to write sets, binary and exact numbers.
- Full reference: OPERATIONS.md.
Actions
Each action is a step you can add to a workflow. Agents can also use most of them as tools.
- List tables
dynamodb.list_tables - Describe table
dynamodb.describe_table - Get item
dynamodb.get_item - Query
dynamodb.query - Scan
dynamodb.scan - Batch get items
dynamodb.batch_get_items - Put item
dynamodb.put_item - Update item
dynamodb.update_item - Delete item
dynamodb.delete_item
Settings
Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.
-
AWS_ACCESS_KEY_ID(none)Credentials (session token for temporary credentials) -
DYNAMODB_REGIONUs-east-1Region -
DYNAMODB_ENDPOINTHttps://dynamodb.<region>.amazonaws.comAnother origin, e.g. DynamoDB Local http://localhost:8000 (http only for localhost) -
DYNAMODB_TIMEOUT_MS30000Per-request timeout (1000 to 100000) -
DYNAMODB_TOOL_ALLOW_WRITES(off)1 lets agent tools call put_item and update_item -
DYNAMODB_ALLOWED_TABLES(any name, no ARNs)Comma-separated table names or ARNs agent tools may use, nodes are not limited -
AWS_SECRET_ACCESS_KEY -
AWS_SESSION_TOKEN -
AWS_REGION -
AWS_DEFAULT_REGION
How to use it
In Graphrt Desktop
- Open Plugins and search for Amazon DynamoDB.
- Click Install and approve it.
- Follow the setup steps on the plugin's page, then paste the settings it needs.
- Describe a job that needs it, and the builder adds the steps.
With the CLI
terminal
$ graphrt plugin install dynamodb workflow.yaml
- id: orders
type: dynamodb.query
table: orders
key_condition_expression: "pk = :customer AND begins_with(sk, :month)"
expression_attribute_values: { ":customer": "customer#42", ":month": "2026-11" }
scan_index_forward: false
limit: 20
- id: mark_paid
type: dynamodb.update_item
table: orders
key: { pk: "customer#42", sk: "{{#orders.data.items.0.sk#}}" }
update_expression: "SET #s = :paid"
condition_expression: "attribute_exists(pk)"
expression_attribute_names: { "#s": "status" }
expression_attribute_values: { ":paid": "paid" }