Interface ICfnStepProps
Properties for defining a CfnStep
.
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnStepProps
Syntax (vb)
Public Interface ICfnStepProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html
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 cfnStepProps = new CfnStepProps {
ActionOnFailure = "actionOnFailure",
HadoopJarStep = new HadoopJarStepConfigProperty {
Jar = "jar",
// the properties below are optional
Args = new [] { "args" },
MainClass = "mainClass",
StepProperties = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} }
},
JobFlowId = "jobFlowId",
Name = "name"
};
Synopsis
Properties
ActionOnFailure | This specifies what action to take when the cluster step fails. |
HadoopJarStep | The |
JobFlowId | A string that uniquely identifies the cluster (job flow). |
Name | The name of the cluster step. |
Properties
ActionOnFailure
This specifies what action to take when the cluster step fails.
string ActionOnFailure { get; }
Property Value
System.String
Remarks
Possible values are CANCEL_AND_WAIT
and CONTINUE
.
HadoopJarStep
The HadoopJarStepConfig
property type specifies a job flow step consisting of a JAR file whose main function will be executed.
object HadoopJarStep { get; }
Property Value
System.Object
Remarks
The main function submits a job for the cluster to execute as a step on the master node, and then waits for the job to finish or fail before executing subsequent steps.
JobFlowId
A string that uniquely identifies the cluster (job flow).
string JobFlowId { get; }
Property Value
System.String
Remarks
Name
The name of the cluster step.
string Name { get; }
Property Value
System.String