Skip to content
v2.275.0

ActionOnFailure Enum ​

The action to take when the cluster step fails.

Example ​

ts
new tasks.EmrAddStep(this, 'Task', {
  clusterId: 'ClusterId',
  name: 'StepName',
  jar: 'Jar',
  actionOnFailure: tasks.ActionOnFailure.CONTINUE,
});

Members ​

MemberDescription
TERMINATE_CLUSTERTerminate the Cluster on Step Failure.
CANCEL_AND_WAITCancel Step execution and enter WAITING state.
CONTINUEContinue to the next Step.

Referenced by ​