Amazon Fargate · Arazzo Workflow
Amazon Fargate Stop a Task and Confirm
Version 1.0.0
Find a running task in a cluster, stop it, and poll DescribeTasks until it is STOPPED.
Provider
Workflows
stop-task-and-confirm
Locate a running task, stop it, and confirm it has reached STOPPED.
Chains listTasks, stopTask, and a describeTasks poll loop that ends when the task is STOPPED.
1
listRunningTasks
listTasks
List the running tasks in the cluster to find one to stop.
2
stopTask
stopTask
Stop the located task, recording the supplied reason.
3
confirmStopped
describeTasks
Poll DescribeTasks until the task reaches STOPPED, re-entering while it is still shutting down.