Enum 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic GlueVersionDeprecated.Returns the enum constant of this type with the specified name.static GlueVersion[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
V0_9
Deprecated.(deprecated) Glue version using Spark 2.2.1 and Python 2.7. -
V1_0
Deprecated.(deprecated) Glue version using Spark 2.4.3, Python 2.7 and Python 3.6. -
V2_0
Deprecated.(deprecated) Glue version using Spark 2.4.3 and Python 3.7. -
V3_0
Deprecated.(deprecated) Glue version using Spark 3.1.1 and Python 3.7. -
V4_0
Deprecated.(deprecated) Glue version using Spark 3.3.0 and Python 3.10. -
V5_0
Deprecated.(deprecated) Glue version using Spark 3.5.4, Python 3.11, and Scala 2.12.18. -
V5_1
Deprecated.(deprecated) Glue version using Spark 3.5.6, Python 3.11, and Scala 2.12.18.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-