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.

FieldTypeRequiredDefaultConstraintsExample
region
AWS region (overrides the connection).
stringNo———
cluster
Cluster name or ARN.
stringYes———
desired_status
RUNNING | PENDING | STOPPED.
stringNo———
max_results
Max tasks (default 50).
numberNo—≥ 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.
stringNo———

Output

One shape.

result

FieldTypeExample
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.