Enum ServiceIntegrationPattern

java.lang.Object
java.lang.Enum<ServiceIntegrationPattern>
software.amazon.awscdk.services.stepfunctions.ServiceIntegrationPattern
All Implemented Interfaces:
Serializable, Comparable<ServiceIntegrationPattern>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.929Z") @Stability(Stable) public enum ServiceIntegrationPattern extends Enum<ServiceIntegrationPattern>
Three ways to call an integrated service: Request Response, Run a Job and Wait for a Callback with Task Token.

Default: FIRE_AND_FORGET

See Also:
  • Enum Constant Details

    • FIRE_AND_FORGET

      @Stability(Stable) public static final ServiceIntegrationPattern FIRE_AND_FORGET
      Call a service and progress to the next state immediately after the API call completes.
    • SYNC

      @Stability(Stable) public static final ServiceIntegrationPattern SYNC
      Call a service and wait for a job to complete.
    • WAIT_FOR_TASK_TOKEN

      @Stability(Stable) public static final ServiceIntegrationPattern WAIT_FOR_TASK_TOKEN
      Call a service with a task token and wait until that token is returned by SendTaskSuccess/SendTaskFailure with payload.
  • Method Details

    • values

      public static ServiceIntegrationPattern[] 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 ServiceIntegrationPattern 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