@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-13T01:13:35.149Z")
public class GlueVersion
extends software.amazon.jsii.JsiiObject
Example:
Bucket bucket; Job.Builder.create(this, "PythonShellJob") .executable(JobExecutable.pythonShell(PythonShellExecutableProps.builder() .glueVersion(GlueVersion.V1_0) .pythonVersion(PythonVersion.THREE) .script(Code.fromBucket(bucket, "script.py")) .build())) .description("an example Python Shell job") .build();
If you need to use a GlueVersion that doesn't exist as a static member, you
can instantiate a `GlueVersion` object, e.g: `GlueVersion.of('1.5')`.
Modifier and Type | Field and Description |
---|---|
static GlueVersion |
V0_9
(experimental) Glue version using Spark 2.2.1 and Python 2.7.
|
static GlueVersion |
V1_0
(experimental) Glue version using Spark 2.4.3, Python 2.7 and Python 3.6.
|
static GlueVersion |
V2_0
(experimental) Glue version using Spark 2.4.3 and Python 3.7.
|
static GlueVersion |
V3_0
(experimental) Glue version using Spark 3.1.1 and Python 3.7.
|
Modifier | Constructor and Description |
---|---|
protected |
GlueVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GlueVersion(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
(experimental) The name of this GlueVersion, as expected by Job resource.
|
static GlueVersion |
of(java.lang.String version)
(experimental) Custom Glue version.
|
public static final GlueVersion V0_9
public static final GlueVersion V1_0
public static final GlueVersion V2_0
public static final GlueVersion V3_0
protected GlueVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected GlueVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public static GlueVersion of(java.lang.String version)
version
- custom version. This parameter is required.public java.lang.String getName()