Class GlueVersion
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.alpha.GlueVersion
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:07.890Z")
@Stability(Experimental)
public class GlueVersion
extends software.amazon.jsii.JsiiObject
(experimental) AWS Glue version determines the versions of Apache Spark and Python that are available to the job.
Example:
Job.Builder.create(this, "EnableSparkUI") .jobName("EtlJobWithSparkUIPrefix") .sparkUI(SparkUIProps.builder() .enabled(true) .build()) .executable(JobExecutable.pythonEtl(PythonSparkJobExecutableProps.builder() .glueVersion(GlueVersion.V3_0) .pythonVersion(PythonVersion.THREE) .script(Code.fromAsset(join(__dirname, "job-script", "hello_world.py"))) .build())) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final GlueVersion
(experimental) Glue version using Spark 2.2.1 and Python 2.7.static final GlueVersion
(experimental) Glue version using Spark 2.4.3, Python 2.7 and Python 3.6.static final GlueVersion
(experimental) Glue version using Spark 2.4.3 and Python 3.7.static final GlueVersion
(experimental) Glue version using Spark 3.1.1 and Python 3.7.static final GlueVersion
(experimental) Glue version using Spark 3.3.0 and Python 3.10. -
Constructor Summary
ModifierConstructorDescriptionprotected
GlueVersion
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
GlueVersion
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
(experimental) The name of this GlueVersion, as expected by Job resource.static GlueVersion
(experimental) Custom Glue version.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
V0_9
(experimental) Glue version using Spark 2.2.1 and Python 2.7. -
V1_0
(experimental) Glue version using Spark 2.4.3, Python 2.7 and Python 3.6. -
V2_0
(experimental) Glue version using Spark 2.4.3 and Python 3.7. -
V3_0
(experimental) Glue version using Spark 3.1.1 and Python 3.7. -
V4_0
(experimental) Glue version using Spark 3.3.0 and Python 3.10.
-
-
Constructor Details
-
GlueVersion
protected GlueVersion(software.amazon.jsii.JsiiObjectRef objRef) -
GlueVersion
protected GlueVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
of
(experimental) Custom Glue version.- Parameters:
version
- custom version. This parameter is required.
-
getName
(experimental) The name of this GlueVersion, as expected by Job resource.
-