Class StepFunctionInvokeAction

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codepipeline.Action
software.amazon.awscdk.services.codepipeline.actions.Action
software.amazon.awscdk.services.codepipeline.actions.StepFunctionInvokeAction
All Implemented Interfaces:
IAction, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-15T10:24:56.736Z") @Stability(Stable) public class StepFunctionInvokeAction extends Action
StepFunctionInvokeAction that is provided by an AWS CodePipeline.

Example:

 import software.amazon.awscdk.services.stepfunctions.*;
 Pipeline pipeline = new Pipeline(this, "MyPipeline");
 Pass startState = new Pass(this, "StartState");
 StateMachine simpleStateMachine = StateMachine.Builder.create(this, "SimpleStateMachine")
         .definition(startState)
         .build();
 StepFunctionInvokeAction stepFunctionAction = StepFunctionInvokeAction.Builder.create()
         .actionName("Invoke")
         .stateMachine(simpleStateMachine)
         .stateMachineInput(StateMachineInput.literal(Map.of("IsHelloWorldExample", true)))
         .build();
 pipeline.addStage(StageOptions.builder()
         .stageName("StepFunctions")
         .actions(List.of(stepFunctionAction))
         .build());
 
  • Constructor Details

    • StepFunctionInvokeAction

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

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

      @Stability(Stable) public StepFunctionInvokeAction(@NotNull StepFunctionsInvokeActionProps props)
      Parameters:
      props - This parameter is required.
  • Method Details

    • bound

      @Stability(Stable) @NotNull protected ActionConfig bound(@NotNull software.constructs.Construct _scope, @NotNull IStage _stage, @NotNull ActionBindOptions options)
      This is a renamed version of the IAction.bind method.

      Specified by:
      bound in class Action
      Parameters:
      _scope - This parameter is required.
      _stage - This parameter is required.
      options - This parameter is required.