Skip to content
v2.278.0

ExecutionClass Enum ​

The excecution class of the job.

Example ​

ts
new tasks.GlueStartJobRun(this, 'Task', {
  glueJobName: 'my-glue-job',
  executionClass: tasks.ExecutionClass.FLEX,
});
python
tasks.GlueStartJobRun(self, "Task",
    glue_job_name="my-glue-job",
    execution_class=tasks.ExecutionClass.FLEX
)
java
GlueStartJobRun.Builder.create(this, "Task")
        .glueJobName("my-glue-job")
        .executionClass(ExecutionClass.FLEX)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
new GlueStartJobRun(this, "Task", new GlueStartJobRunProps {
    GlueJobName = "my-glue-job",
    ExecutionClass = ExecutionClass.FLEX
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
tasks.NewGlueStartJobRun(this, jsii.String("Task"), &GlueStartJobRunProps{
	GlueJobName: jsii.String("my-glue-job"),
	ExecutionClass: tasks.ExecutionClass_FLEX,
})

Members ​

MemberDescription
FLEXThe flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary.
STANDARDThe standard execution class is ideal for time-sensitive workloads that require fast job startup and dedicated resources.

Referenced by ​