Class GlueVersion

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.GlueVersion
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.545Z") @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:

 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();
 

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    GlueVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    GlueVersion(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) The name of this GlueVersion, as expected by Job resource.
    of(String version)
    (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

      @Stability(Experimental) public static final GlueVersion V0_9
      (experimental) Glue version using Spark 2.2.1 and Python 2.7.
    • V1_0

      @Stability(Experimental) public static final GlueVersion V1_0
      (experimental) Glue version using Spark 2.4.3, Python 2.7 and Python 3.6.
    • V2_0

      @Stability(Experimental) public static final GlueVersion V2_0
      (experimental) Glue version using Spark 2.4.3 and Python 3.7.
    • V3_0

      @Stability(Experimental) public static final GlueVersion V3_0
      (experimental) Glue version using Spark 3.1.1 and Python 3.7.
  • Constructor Details

    • GlueVersion

      protected GlueVersion(software.amazon.jsii.JsiiObjectRef objRef)
    • GlueVersion

      protected GlueVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • of

      @Stability(Experimental) @NotNull public static GlueVersion of(@NotNull String version)
      (experimental) Custom Glue version.

      Parameters:
      version - custom version. This parameter is required.
    • getName

      @Stability(Experimental) @NotNull public String getName()
      (experimental) The name of this GlueVersion, as expected by Job resource.