@aws-cdk_aws-glue-alpha.PythonVersion
enum PythonVersion
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Glue.Alpha.PythonVersion |
![]() | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#PythonVersion |
![]() | software.amazon.awscdk.services.glue.alpha.PythonVersion |
![]() | aws_cdk.aws_glue_alpha.PythonVersion |
![]() | @aws-cdk/aws-glue-alpha ยป PythonVersion |
Python version.
Example
new glue.Job(this, 'PythonSparkStreamingJob', {
executable: glue.JobExecutable.pythonStreaming({
glueVersion: glue.GlueVersion.V4_0,
pythonVersion: glue.PythonVersion.THREE,
script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),
}),
description: 'an example Python Streaming job',
});
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).