Interface EmrAddStepJsonataProps
- All Superinterfaces:
- AssignableStateOptions,- software.amazon.jsii.JsiiSerializable,- JsonataCommonOptions,- StateBaseProps,- TaskStateBaseOptions,- TaskStateJsonataBaseProps
- All Known Implementing Classes:
- EmrAddStepJsonataProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:49.724Z")
@Stability(Stable)
public interface EmrAddStepJsonataProps
extends software.amazon.jsii.JsiiSerializable, TaskStateJsonataBaseProps
Properties for EmrAddStep using JSONata.
 
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 outputs;
 TaskRole taskRole;
 Timeout timeout;
 EmrAddStepJsonataProps emrAddStepJsonataProps = EmrAddStepJsonataProps.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)
         .integrationPattern(IntegrationPattern.REQUEST_RESPONSE)
         .mainClass("mainClass")
         .outputs(outputs)
         .properties(Map.of(
                 "propertiesKey", "properties"))
         .queryLanguage(QueryLanguage.JSON_PATH)
         .stateName("stateName")
         .taskTimeout(timeout)
         .timeout(Duration.minutes(30))
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEmrAddStepJsonataPropsstatic final classAn implementation forEmrAddStepJsonataProps
- 
Method SummaryModifier 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.AssignableStateOptionsgetAssignMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonataCommonOptionsgetOutputsMethods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBasePropsgetComment, getQueryLanguage, getStateNameMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseOptionsgetCredentials, getHeartbeat, getHeartbeatTimeout, getIntegrationPattern, getTaskTimeout, getTimeout
- 
Method Details- 
getClusterIdThe ClusterId to add the Step to.
- 
getJarA path to a JAR file run during the step.- See Also:
 
- 
getNameThe name of the Step.- See Also:
 
- 
getActionOnFailureThe action to take when the cluster step fails.Default: ActionOnFailure.CONTINUE - See Also:
 
- 
getArgsA list of command line arguments passed to the JAR file's main function when executed.Default: - No args - See Also:
 
- 
getExecutionRoleArnThe Amazon Resource Name (ARN) of the runtime role for a step on the cluster.Default: - Uses EC2 instance profile role - See Also:
 
- 
getMainClassThe 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:
 
- 
getPropertiesA 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 EmrAddStepJsonataProps.BuilderofEmrAddStepJsonataProps
 
 
-