Class: Aws::EMR::Types::StepConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::StepConfig
- 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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action_on_failure ⇒ String
The action to take when the cluster step fails.
-
#hadoop_jar_step ⇒ Types::HadoopJarStepConfig
The JAR file used for the step.
-
#name ⇒ String
The name of the step.
Instance Attribute Details
#action_on_failure ⇒ String
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.
7001 7002 7003 7004 7005 7006 7007 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7001 class StepConfig < Struct.new( :name, :action_on_failure, :hadoop_jar_step) SENSITIVE = [] include Aws::Structure end |
#hadoop_jar_step ⇒ Types::HadoopJarStepConfig
The JAR file used for the step.
7001 7002 7003 7004 7005 7006 7007 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7001 class StepConfig < Struct.new( :name, :action_on_failure, :hadoop_jar_step) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the step.
7001 7002 7003 7004 7005 7006 7007 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7001 class StepConfig < Struct.new( :name, :action_on_failure, :hadoop_jar_step) SENSITIVE = [] include Aws::Structure end |