All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.glue.alpha.GlueVersion Maven / Gradle / Ivy

There is a newer version: 2.167.1-alpha.0
Show newest version
package software.amazon.awscdk.services.glue.alpha;

/**
 * (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 https://docs.aws.amazon.com/glue/latest/dg/add-job.html. * 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')`. */ @javax.annotation.Generated(value = "jsii-pacmak/1.99.0 (build 8f757e4)", date = "2024-06-13T18:49:27.671Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.glue.alpha.$Module.class, fqn = "@aws-cdk/aws-glue-alpha.GlueVersion") public class GlueVersion extends software.amazon.jsii.JsiiObject { protected GlueVersion(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected GlueVersion(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } static { V0_9 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.glue.alpha.GlueVersion.class, "V0_9", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.glue.alpha.GlueVersion.class)); V1_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.glue.alpha.GlueVersion.class, "V1_0", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.glue.alpha.GlueVersion.class)); V2_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.glue.alpha.GlueVersion.class, "V2_0", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.glue.alpha.GlueVersion.class)); V3_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.glue.alpha.GlueVersion.class, "V3_0", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.glue.alpha.GlueVersion.class)); V4_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.glue.alpha.GlueVersion.class, "V4_0", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.glue.alpha.GlueVersion.class)); } /** * (experimental) Custom Glue version. *

* @param version custom version. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.glue.alpha.GlueVersion of(final @org.jetbrains.annotations.NotNull java.lang.String version) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.glue.alpha.GlueVersion.class, "of", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.glue.alpha.GlueVersion.class), new Object[] { java.util.Objects.requireNonNull(version, "version is required") }); } /** * (experimental) Glue version using Spark 2.2.1 and Python 2.7. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.glue.alpha.GlueVersion V0_9; /** * (experimental) Glue version using Spark 2.4.3, Python 2.7 and Python 3.6. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.glue.alpha.GlueVersion V1_0; /** * (experimental) Glue version using Spark 2.4.3 and Python 3.7. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.glue.alpha.GlueVersion V2_0; /** * (experimental) Glue version using Spark 3.1.1 and Python 3.7. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.glue.alpha.GlueVersion V3_0; /** * (experimental) Glue version using Spark 3.3.0 and Python 3.10. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.glue.alpha.GlueVersion V4_0; /** * (experimental) The name of this GlueVersion, as expected by Job resource. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getName() { return software.amazon.jsii.Kernel.get(this, "name", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy