Show running or stopped tasks in a cluster.
Section: Task Definitions and Tasks
List tasks
bash
bash
aws ecs list-tasks --cluster my-clusterExplanation
Useful for operational inventory and loops.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Task Definitions and Tasks