Interface IEmrAddStepProps
Properties for EmrAddStep.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEmrAddStepProps : ITaskStateBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonPathCommonOptions, IJsonataCommonOptions
Syntax (vb)
Public Interface IEmrAddStepProps
Inherits ITaskStateBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonPathCommonOptions, IJsonataCommonOptions
Remarks
ExampleMetadata: infused
Examples
new EmrAddStep(this, "Task", new EmrAddStepProps {
ClusterId = "ClusterId",
Name = "StepName",
Jar = "Jar",
ActionOnFailure = ActionOnFailure.CONTINUE
});
Synopsis
Properties
Action |
The action to take when the cluster step fails. |
Args | A list of command line arguments passed to the JAR file's main function when executed. |
Cluster |
The ClusterId to add the Step to. |
Execution |
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. |
Jar | A path to a JAR file run during the step. |
Main |
The name of the main class in the specified Java file. |
Name | The name of the Step. |
Properties | A list of Java properties that are set when the step runs. |
Properties
ActionOnFailure
The action to take when the cluster step fails.
virtual Nullable<ActionOnFailure> ActionOnFailure { get; }
Property Value
System.
Remarks
Default: ActionOnFailure.CONTINUE
See: https://docs.aws.amazon.com/emr/latest/APIReference/API_StepConfig.html
Args
A list of command line arguments passed to the JAR file's main function when executed.
virtual string[] Args { get; }
Property Value
System.
Remarks
Default: - No args
See: https://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html
ClusterId
The ClusterId to add the Step to.
string ClusterId { get; }
Property Value
System.
ExecutionRoleArn
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.
virtual string ExecutionRoleArn { get; }
Property Value
System.
Remarks
Default: - Uses EC2 instance profile role
Jar
A path to a JAR file run during the step.
string Jar { get; }
Property Value
System.
Remarks
MainClass
The name of the main class in the specified Java file.
virtual string MainClass { get; }
Property Value
System.
Remarks
If not specified, the JAR file should specify a Main-Class in its manifest file.
Default: - No mainClass
See: https://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html
Name
The name of the Step.
string Name { get; }
Property Value
System.
Remarks
Properties
A list of Java properties that are set when the step runs.
virtual IDictionary<string, string> Properties { get; }
Property Value
System.
Remarks
You can use these properties to pass key value pairs to your main function.
Default: - No properties
See: https://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html