Execute Statement
rds_data.execute_statement
ActionAmazon Web Servicesconnection required
Calls the AWS rds_data API (SigV4).
Runs a SQL statement against a database.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- AWS RDS DataService
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 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 the connection). | string | No | — | — | — |
resource_arn The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster. | string | Yes | — | — | — |
secret_arn The ARN of the secret that enables access to the DB cluster. | string | Yes | — | — | — |
sql The SQL statement to run. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
records | array | — |
columnMetadata | array | — |
numberOfRecordsUpdated | number | — |
generatedFields | array | — |
{
"columnMetadata": [],
"generatedFields": [],
"numberOfRecordsUpdated": 0,
"records": []
}Related AWS RDS DataService nodes
See Execute Statement run in a workflow.
In a technical demo we add the AWS RDS DataService connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.