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
| ActionOnFailure | 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. |
| ClusterId | The ClusterId to add the Step to. |
| ExecutionRoleArn | 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. |
| MainClass | 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.
ActionOnFailure? ActionOnFailure { get; }
Property Value
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.
string[]? Args { get; }
Property Value
string[]
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
Remarks
ExampleMetadata: infused
ExecutionRoleArn
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.
string? ExecutionRoleArn { get; }
Property Value
Remarks
Default: - Uses EC2 instance profile role
Jar
A path to a JAR file run during the step.
string Jar { get; }
Property Value
Remarks
MainClass
The name of the main class in the specified Java file.
string? MainClass { get; }
Property Value
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
Remarks
Properties
A list of Java properties that are set when the step runs.
IDictionary<string, string>? Properties { get; }
Property Value
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