java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IChainable, INextable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.109.0 (build c221850)", date="2025-03-14T03:25:06.308Z") @Stability(Stable) public class EmrAddStep extends TaskStateBase
A Step Functions Task to add a Step to an EMR Cluster.

The StepConfiguration is defined as Parameters in the state machine definition.

OUTPUT: the StepId

Example:

 EmrAddStep.Builder.create(this, "Task")
         .clusterId("ClusterId")
         .name("StepName")
         .jar("Jar")
         .actionOnFailure(ActionOnFailure.CONTINUE)
         .build();
 
  • Constructor Details

    • EmrAddStep

      protected EmrAddStep(software.amazon.jsii.JsiiObjectRef objRef)
    • EmrAddStep

      protected EmrAddStep(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • EmrAddStep

      @Stability(Stable) public EmrAddStep(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull EmrAddStepProps props)
      Parameters:
      scope - This parameter is required.
      id - Descriptive identifier for this chainable. This parameter is required.
      props - This parameter is required.
  • Method Details

    • jsonata

      @Stability(Stable) @NotNull public static EmrAddStep jsonata(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull EmrAddStepJsonataProps props)
      A Step Functions Task that using JSONata to add a Step to an EMR Cluster.

      The StepConfiguration is defined as Parameters in the state machine definition.

      OUTPUT: the StepId

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
    • jsonPath

      @Stability(Stable) @NotNull public static EmrAddStep jsonPath(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull EmrAddStepJsonPathProps props)
      A Step Functions Task that using JSONPath to add a Step to an EMR Cluster.

      The StepConfiguration is defined as Parameters in the state machine definition.

      OUTPUT: the StepId

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
    • getTaskMetrics

      @Stability(Stable) @Nullable protected TaskMetricsConfig getTaskMetrics()
      Specified by:
      getTaskMetrics in class TaskStateBase
    • getTaskPolicies

      @Stability(Stable) @Nullable protected List<PolicyStatement> getTaskPolicies()
      Specified by:
      getTaskPolicies in class TaskStateBase