Found the answer thanks to @P?l Brattberg
aws stepfunctions list-executions
--state-machine-arn <STEP FUNCTION ARN>
--status-filter RUNNING
--query "executions[*].{executionArn:executionArn}"
--output text |
xargs -I {} aws stepfunctions stop-execution
--execution-arn {}
More info How to stop all running Step Functions of a specific state machine?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…