software.amazon.awscdk.services.glue.alpha.PythonVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glue-alpha Show documentation
Show all versions of glue-alpha Show documentation
The CDK Construct Library for AWS::Glue
package software.amazon.awscdk.services.glue.alpha;
/**
* (experimental) Python version.
*
* 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();
*
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.99.0 (build 8f757e4)", date = "2024-06-13T18:49:27.686Z")
@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,
}