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

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-23T05:56:24.480Z") @Stability(Stable) public enum ExecutionClass extends Enum<ExecutionClass>
The excecution class of the job.

Example:

 GlueStartJobRun.Builder.create(this, "Task")
         .glueJobName("my-glue-job")
         .executionClass(ExecutionClass.FLEX)
         .build();
 
  • Enum Constant Details

    • FLEX

      @Stability(Stable) public static final ExecutionClass FLEX
      The flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary.

      Only jobs with AWS Glue version 3.0 and above and command type glueetl will be allowed to set ExecutionClass to FLEX. The flexible execution class is available for Spark jobs.

    • STANDARD

      @Stability(Stable) public static final ExecutionClass STANDARD
      The standard execution class is ideal for time-sensitive workloads that require fast job startup and dedicated resources.
  • Method Details

    • values

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