List Tasks
ecs.list_tasks
ActionAmazon Web Servicesconnection required
Calls the AWS ecs API (SigV4).
List task ARNs on a cluster.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Amazon ECS
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
5 fields, 1 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 | — | — | — |
cluster Cluster name or ARN. | string | Yes | — | — | — |
desired_status RUNNING | PENDING | STOPPED. | string | No | — | — | — |
max_results Max tasks (default 50). | number | No | — | ≥ 1 | — |
next_token Continues from a previous run of this node: pass that run's next_token output here, or leave blank to start at the first page. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
task_arns | array | — |
count | number | — |
next_token Cursor for the next page; empty when there are no further pages. | string | — |
{
"count": 0,
"next_token": "",
"task_arns": []
}Related Amazon ECS nodes
See List Tasks run in a workflow.
In a technical demo we add the Amazon ECS connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.