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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb

Overview

Note:

When making an API call, you may pass StepConfig data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#action_on_failureString

The action to take if the step fails.

Returns:

  • (String)


4933
4934
4935
4936
4937
4938
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 4933

class StepConfig < Struct.new(
  :name,
  :action_on_failure,
  :hadoop_jar_step)
  include Aws::Structure
end

#hadoop_jar_stepTypes::HadoopJarStepConfig

The JAR file used for the step.



4933
4934
4935
4936
4937
4938
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 4933

class StepConfig < Struct.new(
  :name,
  :action_on_failure,
  :hadoop_jar_step)
  include Aws::Structure
end

#nameString

The name of the step.

Returns:

  • (String)


4933
4934
4935
4936
4937
4938
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 4933

class StepConfig < Struct.new(
  :name,
  :action_on_failure,
  :hadoop_jar_step)
  include Aws::Structure
end