Interface EmrAddStepJsonPathProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonPathCommonOptions,StateBaseProps,TaskStateBaseOptions,TaskStateJsonPathBaseProps
- All Known Implementing Classes:
EmrAddStepJsonPathProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:48.143Z")
@Stability(Stable)
public interface EmrAddStepJsonPathProps
extends software.amazon.jsii.JsiiSerializable, TaskStateJsonPathBaseProps
Properties for EmrAddStep using JSONPath.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.stepfunctions.*;
import software.amazon.awscdk.services.stepfunctions.tasks.*;
Object assign;
Object resultSelector;
TaskRole taskRole;
Timeout timeout;
EmrAddStepJsonPathProps emrAddStepJsonPathProps = EmrAddStepJsonPathProps.builder()
.clusterId("clusterId")
.jar("jar")
.name("name")
// the properties below are optional
.actionOnFailure(ActionOnFailure.TERMINATE_CLUSTER)
.args(List.of("args"))
.assign(Map.of(
"assignKey", assign))
.comment("comment")
.credentials(Credentials.builder()
.role(taskRole)
.build())
.executionRoleArn("executionRoleArn")
.heartbeat(Duration.minutes(30))
.heartbeatTimeout(timeout)
.inputPath("inputPath")
.integrationPattern(IntegrationPattern.REQUEST_RESPONSE)
.mainClass("mainClass")
.outputPath("outputPath")
.properties(Map.of(
"propertiesKey", "properties"))
.queryLanguage(QueryLanguage.JSON_PATH)
.resultPath("resultPath")
.resultSelector(Map.of(
"resultSelectorKey", resultSelector))
.stateName("stateName")
.taskTimeout(timeout)
.timeout(Duration.minutes(30))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEmrAddStepJsonPathPropsstatic final classAn implementation forEmrAddStepJsonPathProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ActionOnFailureThe 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 StringThe 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 StringThe 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.awscdk.services.stepfunctions.AssignableStateOptions
getAssignMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonPathCommonOptions
getInputPath, getOutputPathMethods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBaseProps
getComment, getQueryLanguage, getStateNameMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseOptions
getCredentials, getHeartbeat, getHeartbeatTimeout, getIntegrationPattern, getTaskTimeout, getTimeoutMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateJsonPathBaseProps
getResultPath, getResultSelector
-
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
EmrAddStepJsonPathProps.BuilderofEmrAddStepJsonPathProps
-