ExecutionClass

class aws_cdk.aws_stepfunctions_tasks.ExecutionClass(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

The excecution class of the job.

ExampleMetadata:

infused

Example:

tasks.GlueStartJobRun(self, "Task",
    glue_job_name="my-glue-job",
    execution_class=tasks.ExecutionClass.FLEX
)

Attributes

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

The standard execution class is ideal for time-sensitive workloads that require fast job startup and dedicated resources.