Runtime

class aws_cdk.aws_glue_alpha.Runtime(*args: Any, **kwargs)

Bases: object

(experimental) AWS Glue runtime determines the runtime engine of the job.

Stability:

experimental

ExampleMetadata:

infused

Example:

glue.Job(self, "RayJob",
    executable=glue.JobExecutable.python_ray(
        glue_version=glue.GlueVersion.V4_0,
        python_version=glue.PythonVersion.THREE_NINE,
        runtime=glue.Runtime.RAY_TWO_FOUR,
        script=glue.Code.from_asset(path.join(__dirname, "job-script", "hello_world.py"))
    ),
    worker_type=glue.WorkerType.Z_2X,
    worker_count=2,
    description="an example Ray job"
)

Attributes

RAY_TWO_FOUR = <aws_cdk.aws_glue_alpha.Runtime object>
name

(experimental) The name of this Runtime.

Stability:

experimental

Static Methods

classmethod of(runtime)

(experimental) Custom runtime.

Parameters:

runtime (str) – custom runtime.

Stability:

experimental

Return type:

Runtime