Class CfnCluster.StepConfigProperty
StepConfig
is a property of the AWS::EMR::Cluster
resource.
Inheritance
System.Object
CfnCluster.StepConfigProperty
Implements
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.AWS.EMR.dll
Syntax (csharp)
public class StepConfigProperty : Object, CfnCluster.IStepConfigProperty
Syntax (vb)
Public Class StepConfigProperty
Inherits Object
Implements CfnCluster.IStepConfigProperty
Remarks
The StepConfig
property type specifies a cluster (job flow) step, which runs only on the master node. Steps are used to submit data processing jobs to the cluster.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EMR;
var stepConfigProperty = new StepConfigProperty {
HadoopJarStep = new HadoopJarStepConfigProperty {
Jar = "jar",
// the properties below are optional
Args = new [] { "args" },
MainClass = "mainClass",
StepProperties = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} }
},
Name = "name",
// the properties below are optional
ActionOnFailure = "actionOnFailure"
};
Synopsis
Constructors
StepConfigProperty() |
Properties
ActionOnFailure | The action to take when the cluster step fails. |
HadoopJarStep | The JAR file used for the step. |
Name | The name of the step. |
Constructors
StepConfigProperty()
public StepConfigProperty()
Properties
ActionOnFailure
The action to take when the cluster step fails.
public string ActionOnFailure { get; set; }
Property Value
System.String
Remarks
Possible values are CANCEL_AND_WAIT
and CONTINUE
.
HadoopJarStep
The JAR file used for the step.
public object HadoopJarStep { get; set; }
Property Value
System.Object
Remarks
Name
The name of the step.
public string Name { get; set; }
Property Value
System.String