Enum StateMachineInvocationType

java.lang.Object
java.lang.Enum<StateMachineInvocationType>
software.amazon.awscdk.services.pipes.targets.alpha.StateMachineInvocationType
All Implemented Interfaces:
Serializable, Comparable<StateMachineInvocationType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-10-31T19:13:08.360Z") @Stability(Experimental) public enum StateMachineInvocationType extends Enum<StateMachineInvocationType>
(experimental) InvocationType for invoking the State Machine.

Example:

 Queue sourceQueue;
 IStateMachine targetStateMachine;
 SfnStateMachine pipeTarget = SfnStateMachine.Builder.create(targetStateMachine)
         .invocationType(StateMachineInvocationType.FIRE_AND_FORGET)
         .build();
 Pipe pipe = Pipe.Builder.create(this, "Pipe")
         .source(new SqsSource(sourceQueue))
         .target(pipeTarget)
         .build();
 

See Also:
  • Enum Constant Details

    • FIRE_AND_FORGET

      @Stability(Experimental) public static final StateMachineInvocationType FIRE_AND_FORGET
      (experimental) Invoke StepFunction asynchronously (StartExecution).

      See https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html for more details.

    • REQUEST_RESPONSE

      @Stability(Experimental) public static final StateMachineInvocationType REQUEST_RESPONSE
      (experimental) Invoke StepFunction synchronously (StartSyncExecution) and wait for the execution to complete.

      See https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartSyncExecution.html for more details.

  • Method Details

    • values

      public static StateMachineInvocationType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static StateMachineInvocationType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null