enum PythonVersion
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.Alpha.PythonVersion |
Go | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#PythonVersion |
Java | software.amazon.awscdk.services.glue.alpha.PythonVersion |
Python | aws_cdk.aws_glue_alpha.PythonVersion |
TypeScript (source) | @aws-cdk/aws-glue-alpha » PythonVersion |
Python version.
Example
new glue.Job(this, 'EnableSparkUI', {
jobName: 'EtlJobWithSparkUIPrefix',
sparkUI: {
enabled: true,
},
executable: glue.JobExecutable.pythonEtl({
glueVersion: glue.GlueVersion.V3_0,
pythonVersion: glue.PythonVersion.THREE,
script: glue.Code.fromAsset(path.join(__dirname, 'job-script', 'hello_world.py')),
}),
});
Members
Name | Description |
---|---|
TWO | Python 2 (the exact version depends on GlueVersion and JobCommand used). |
THREE | Python 3 (the exact version depends on GlueVersion and JobCommand used). |
THREE_NINE | Python 3.9 (the exact version depends on GlueVersion and JobCommand used). |
TWO
Python 2 (the exact version depends on GlueVersion and JobCommand used).
THREE
Python 3 (the exact version depends on GlueVersion and JobCommand used).
THREE_NINE
Python 3.9 (the exact version depends on GlueVersion and JobCommand used).