You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EMR::Types::StepConfig

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing StepConfig as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "XmlStringMaxLen256", # required
  action_on_failure: "TERMINATE_JOB_FLOW", # accepts TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
  hadoop_jar_step: { # required
    properties: [
      {
        key: "XmlString",
        value: "XmlString",
      },
    ],
    jar: "XmlString", # required
    main_class: "XmlString",
    args: ["XmlString"],
  },
}

Specification of a cluster (job flow) step.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#action_on_failureString

The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is provided for backward compatibility. We recommend using TERMINATE_CLUSTER instead.

Possible values:

  • TERMINATE_JOB_FLOW
  • TERMINATE_CLUSTER
  • CANCEL_AND_WAIT
  • CONTINUE

Returns:

  • (String)

    The action to take when the cluster step fails.

#hadoop_jar_stepTypes::HadoopJarStepConfig

The JAR file used for the step.

Returns:

#nameString

The name of the step.

Returns:

  • (String)

    The name of the step.