Class: Aws::EMR::Types::Step
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::Step
- Defined in:
- gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb
Overview
This represents a step in a cluster.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action_on_failure ⇒ String
The action to take when the cluster step fails.
-
#additional_info ⇒ Types::StepAdditionalInfo
Additional information about the step, including the YARN application IDs associated with the step and the resource manager that processed it.
-
#config ⇒ Types::HadoopStepConfig
The Hadoop job configuration of the cluster step.
-
#encryption_key_arn ⇒ String
The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.
-
#execution_role_arn ⇒ String
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.
-
#id ⇒ String
The identifier of the cluster step.
-
#log_uri ⇒ String
The Amazon S3 destination URI for log publishing.
-
#name ⇒ String
The name of the cluster step.
-
#status ⇒ Types::StepStatus
The current execution status details of the cluster 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.
If a cluster's StepConcurrencyLevel is greater than 1, do not
use AddJobFlowSteps to submit a step with this parameter set to
CANCEL_AND_WAIT or TERMINATE_CLUSTER. The step is not submitted
and the action fails with a message that the ActionOnFailure
setting is not valid.
If you change a cluster's StepConcurrencyLevel to be greater than
1 while a step is running, the ActionOnFailure parameter may not
behave as you expect. In this case, for a step that fails with this
parameter set to CANCEL_AND_WAIT, pending steps and the running
step are not canceled; for a step that fails with this parameter set
to TERMINATE_CLUSTER, the cluster does not terminate.
7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7308 class Step < Struct.new( :id, :name, :config, :action_on_failure, :status, :execution_role_arn, :log_uri, :encryption_key_arn, :additional_info) SENSITIVE = [] include Aws::Structure end |
#additional_info ⇒ Types::StepAdditionalInfo
Additional information about the step, including the YARN application IDs associated with the step and the resource manager that processed it.
7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7308 class Step < Struct.new( :id, :name, :config, :action_on_failure, :status, :execution_role_arn, :log_uri, :encryption_key_arn, :additional_info) SENSITIVE = [] include Aws::Structure end |
#config ⇒ Types::HadoopStepConfig
The Hadoop job configuration of the cluster step.
7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7308 class Step < Struct.new( :id, :name, :config, :action_on_failure, :status, :execution_role_arn, :log_uri, :encryption_key_arn, :additional_info) SENSITIVE = [] include Aws::Structure end |
#encryption_key_arn ⇒ String
The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.
7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7308 class Step < Struct.new( :id, :name, :config, :action_on_failure, :status, :execution_role_arn, :log_uri, :encryption_key_arn, :additional_info) SENSITIVE = [] include Aws::Structure end |
#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.
7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7308 class Step < Struct.new( :id, :name, :config, :action_on_failure, :status, :execution_role_arn, :log_uri, :encryption_key_arn, :additional_info) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The identifier of the cluster step.
7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7308 class Step < Struct.new( :id, :name, :config, :action_on_failure, :status, :execution_role_arn, :log_uri, :encryption_key_arn, :additional_info) SENSITIVE = [] include Aws::Structure end |
#log_uri ⇒ String
The Amazon S3 destination URI for log publishing.
7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7308 class Step < Struct.new( :id, :name, :config, :action_on_failure, :status, :execution_role_arn, :log_uri, :encryption_key_arn, :additional_info) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the cluster step.
7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7308 class Step < Struct.new( :id, :name, :config, :action_on_failure, :status, :execution_role_arn, :log_uri, :encryption_key_arn, :additional_info) SENSITIVE = [] include Aws::Structure end |
#status ⇒ Types::StepStatus
The current execution status details of the cluster step.
7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7308 class Step < Struct.new( :id, :name, :config, :action_on_failure, :status, :execution_role_arn, :log_uri, :encryption_key_arn, :additional_info) SENSITIVE = [] include Aws::Structure end |