software.amazon.awscdk.services.glue.alpha.PythonVersion Maven / Gradle / Ivy
package software.amazon.awscdk.services.glue.alpha;
/**
* (experimental) Python version.
*
* Example:
*
*
* Job.Builder.create(this, "EnableRunQueuing")
* .jobName("EtlJobWithRunQueuing")
* .executable(JobExecutable.pythonEtl(PythonSparkJobExecutableProps.builder()
* .glueVersion(GlueVersion.V4_0)
* .pythonVersion(PythonVersion.THREE)
* .script(Code.fromAsset(join(__dirname, "job-script", "hello_world.py")))
* .build()))
* .jobRunQueuingEnabled(true)
* .build();
*
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-11-15T10:25:09.353Z")
@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.PythonVersion")
public enum PythonVersion {
/**
* (experimental) Python 2 (the exact version depends on GlueVersion and JobCommand used).
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
TWO,
/**
* (experimental) Python 3 (the exact version depends on GlueVersion and JobCommand used).
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
THREE,
/**
* (experimental) Python 3.9 (the exact version depends on GlueVersion and JobCommand used).
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
THREE_NINE,
}