aws emr cancel-steps
Cancels a pending step or steps in a running cluster. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--cluster-idThe ClusterID for the specified steps that will be canceled.--step-cancellation-optionThe option to choose to cancel RUNNING steps.--step-idsThe list of StepIDs to cancel.