Enum GlueVersion

java.lang.Object
java.lang.Enum<GlueVersion>
software.amazon.awscdk.services.glue.alpha.GlueVersion
All Implemented Interfaces:
Serializable, Comparable<GlueVersion>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-17T14:54:30.065Z") @Stability(Deprecated) @Deprecated public enum GlueVersion extends Enum<GlueVersion>
Deprecated.
(deprecated) AWS Glue version determines the versions of Apache Spark and Python that are available to the job.

Example:

 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.iam.*;
 Stack stack;
 IRole role;
 Code script;
 PySparkEtlJob.Builder.create(stack, "PySparkETLJob")
         .jobName("PySparkETLJobCustomName")
         .description("This is a description")
         .role(role)
         .script(script)
         .glueVersion(GlueVersion.V5_1)
         .continuousLogging(ContinuousLoggingProps.builder().enabled(false).build())
         .workerConfiguration(WorkerConfiguration.builder()
                 .workerType(WorkerType.G_2X)
                 .numberOfWorkers(2)
                 .build())
         .maxConcurrentRuns(100)
         .timeout(Duration.hours(2))
         .connections(List.of(Connection.fromConnectionName(stack, "Connection", "connectionName")))
         .securityConfiguration(SecurityConfiguration.fromSecurityConfigurationName(stack, "SecurityConfig", "securityConfigName"))
         .tags(Map.of(
                 "FirstTagName", "FirstTagValue",
                 "SecondTagName", "SecondTagValue",
                 "XTagName", "XTagValue"))
         .maxRetries(2)
         .build();
 

See Also:
  • Enum Constant Details

    • V0_9

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

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

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

      @Stability(Deprecated) @Deprecated public static final GlueVersion V3_0
      Deprecated.
      (deprecated) Glue version using Spark 3.1.1 and Python 3.7.
    • V4_0

      @Stability(Deprecated) @Deprecated public static final GlueVersion V4_0
      Deprecated.
      (deprecated) Glue version using Spark 3.3.0 and Python 3.10.
    • V5_0

      @Stability(Deprecated) @Deprecated public static final GlueVersion V5_0
      Deprecated.
      (deprecated) Glue version using Spark 3.5.4, Python 3.11, and Scala 2.12.18.
    • V5_1

      @Stability(Deprecated) @Deprecated public static final GlueVersion V5_1
      Deprecated.
      (deprecated) Glue version using Spark 3.5.6, Python 3.11, and Scala 2.12.18.
  • Method Details

    • values

      public static GlueVersion[] values()
      Deprecated.
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static GlueVersion valueOf(String name)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null