PythonVersion

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

Bases: Enum

(experimental) Python version.

Stability:

experimental

ExampleMetadata:

infused

Example:

glue.Job(self, "EnableRunQueuing",
    job_name="EtlJobWithRunQueuing",
    executable=glue.JobExecutable.python_etl(
        glue_version=glue.GlueVersion.V4_0,
        python_version=glue.PythonVersion.THREE,
        script=glue.Code.from_asset(path.join(__dirname, "job-script", "hello_world.py"))
    ),
    job_run_queuing_enabled=True
)

Attributes

THREE

(experimental) Python 3 (the exact version depends on GlueVersion and JobCommand used).

Stability:

experimental

THREE_NINE

(experimental) Python 3.9 (the exact version depends on GlueVersion and JobCommand used).

Stability:

experimental

TWO

(experimental) Python 2 (the exact version depends on GlueVersion and JobCommand used).

Stability:

experimental