enum PythonVersion
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Glue.PythonVersion |
![]() | software.amazon.awscdk.services.glue.PythonVersion |
![]() | aws_cdk.aws_glue.PythonVersion |
![]() | @aws-cdk/aws-glue » PythonVersion |
Python version.
Example
new glue.Job(this, 'PythonSparkStreamingJob', {
executable: glue.JobExecutable.pythonStreaming({
glueVersion: glue.GlueVersion.V2_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). |
TWO
Python 2 (the exact version depends on GlueVersion and JobCommand used).
THREE
Python 3 (the exact version depends on GlueVersion and JobCommand used).