Interface EmrAddStepProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,TaskStateBaseProps
- All Known Implementing Classes:
EmrAddStepProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-11-02T10:21:24.411Z")
@Stability(Stable)
public interface EmrAddStepProps
extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Properties for EmrAddStep.
Example:
EmrAddStep.Builder.create(this, "Task") .clusterId("ClusterId") .name("StepName") .jar("Jar") .actionOnFailure(ActionOnFailure.CONTINUE) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forEmrAddStepProps
static final class
An implementation forEmrAddStepProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic EmrAddStepProps.Builder
builder()
default ActionOnFailure
The action to take when the cluster step fails.getArgs()
A list of command line arguments passed to the JAR file's main function when executed.The ClusterId to add the Step to.getJar()
A path to a JAR file run during the step.default String
The name of the main class in the specified Java file.getName()
The name of the Step.A list of Java properties that are set when the step runs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getComment, getCredentials, getHeartbeat, getHeartbeatTimeout, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getStateName, getTaskTimeout, getTimeout
-
Method Details
-
getClusterId
The ClusterId to add the Step to. -
getJar
A path to a JAR file run during the step.- See Also:
-
getName
The name of the Step.- See Also:
-
getActionOnFailure
The action to take when the cluster step fails.Default: ActionOnFailure.CONTINUE
- See Also:
-
getArgs
A list of command line arguments passed to the JAR file's main function when executed.Default: - No args
- See Also:
-
getMainClass
The name of the main class in the specified Java file.If not specified, the JAR file should specify a Main-Class in its manifest file.
Default: - No mainClass
- See Also:
-
getProperties
A list of Java properties that are set when the step runs.You can use these properties to pass key value pairs to your main function.
Default: - No properties
- See Also:
-
builder
- Returns:
- a
EmrAddStepProps.Builder
ofEmrAddStepProps
-