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

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:14.381Z") @Stability(Stable) public enum InputType extends Enum<InputType>
The type of task input.
  • Enum Constant Details

    • TEXT

      @Stability(Stable) public static final InputType TEXT
      Use a literal string This might be a JSON-encoded object, or just text.

      valid JSON text: standalone, quote-delimited strings; objects; arrays; numbers; Boolean values; and null.

      example: literal string example: {"json": "encoded"}

    • OBJECT

      @Stability(Stable) public static final InputType OBJECT
      Use an object which may contain Data and Context fields as object values, if desired.

      example: { literal: 'literal', SomeInput: sfn.JsonPath.stringAt('$.someField') }

      See Also:
  • Method Details

    • values

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