Class: Aws::EMR::Types::AddJobFlowStepsInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::AddJobFlowStepsInput
- Defined in:
- gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb
Overview
When making an API call, you may pass AddJobFlowStepsInput data as a hash:
{
job_flow_id: "XmlStringMaxLen256", # required
steps: [ # required
{
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"],
},
},
],
execution_role_arn: "ArnType",
}
The input argument to the AddJobFlowSteps operation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#execution_role_arn ⇒ String
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.
-
#job_flow_id ⇒ String
A string that uniquely identifies the job flow.
-
#steps ⇒ Array<Types::StepConfig>
A list of StepConfig to be executed by the job flow.
Instance Attribute Details
#execution_role_arn ⇒ String
The Amazon Resource Name (ARN) of the runtime role for a step on the
cluster. The runtime role can be a cross-account IAM role. The
runtime role ARN is a combination of account ID, role name, and role
type using the following format:
arn:partition:service:region:account:resource
.
For example, arn:aws:iam::1234567890:role/ReadOnly
is a correctly
formatted runtime role ARN.
288 289 290 291 292 293 294 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 288 class AddJobFlowStepsInput < Struct.new( :job_flow_id, :steps, :execution_role_arn) SENSITIVE = [] include Aws::Structure end |
#job_flow_id ⇒ String
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
288 289 290 291 292 293 294 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 288 class AddJobFlowStepsInput < Struct.new( :job_flow_id, :steps, :execution_role_arn) SENSITIVE = [] include Aws::Structure end |
#steps ⇒ Array<Types::StepConfig>
A list of StepConfig to be executed by the job flow.
288 289 290 291 292 293 294 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 288 class AddJobFlowStepsInput < Struct.new( :job_flow_id, :steps, :execution_role_arn) SENSITIVE = [] include Aws::Structure end |