AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This represents a step in a cluster.

Inheritance Hierarchy

System.Object
  Amazon.ElasticMapReduce.Model.Step

Namespace: Amazon.ElasticMapReduce.Model
Assembly: AWSSDK.ElasticMapReduce.dll
Version: 3.x.y.z

Syntax

C#
public class Step

The Step type exposes the following members

Constructors

NameDescription
Public Method Step()

Properties

NameTypeDescription
Public Property ActionOnFailure Amazon.ElasticMapReduce.ActionOnFailure

Gets and sets the property ActionOnFailure.

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.

Public Property Config Amazon.ElasticMapReduce.Model.HadoopStepConfig

Gets and sets the property Config.

The Hadoop job configuration of the cluster step.

Public Property ExecutionRoleArn System.String

Gets and sets the property ExecutionRoleArn.

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.

Public Property Id System.String

Gets and sets the property Id.

The identifier of the cluster step.

Public Property Name System.String

Gets and sets the property Name.

The name of the cluster step.

Public Property Status Amazon.ElasticMapReduce.Model.StepStatus

Gets and sets the property Status.

The current execution status details of the cluster step.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5