Interface EmrAddStepProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,TaskStateBaseProps
- All Known Implementing Classes:
EmrAddStepProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:27.888Z")
@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
Modifier 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.default String
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.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:
-
getExecutionRoleArn
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.Default: - Uses EC2 instance profile role
- 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
-