Class PythonVersion
(experimental) Python version.
Inheritance
System.Object
PythonVersion
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public sealed class PythonVersion : Enum
Syntax (vb)
Public NotInheritable Class PythonVersion
Inherits
Enum
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
new Job(this, "PythonSparkStreamingJob", new JobProps {
Executable = JobExecutable.PythonStreaming(new PythonSparkJobExecutableProps {
GlueVersion = GlueVersion.V2_0,
PythonVersion = PythonVersion.THREE,
Script = Code.FromAsset(Join(__dirname, "job-script/hello_world.py"))
}),
Description = "an example Python Streaming job"
});
Synopsis
Fields
THREE | (experimental) Python 3 (the exact version depends on GlueVersion and JobCommand used). |
TWO | (experimental) Python 2 (the exact version depends on GlueVersion and JobCommand used). |
value__ |
Fields
THREE
(experimental) Python 3 (the exact version depends on GlueVersion and JobCommand used).
public const PythonVersion THREE
Field Value
Type | Description |
---|---|
PythonVersion |
Remarks
Stability: Experimental
TWO
(experimental) Python 2 (the exact version depends on GlueVersion and JobCommand used).
public const PythonVersion TWO
Field Value
Type | Description |
---|---|
PythonVersion |
Remarks
Stability: Experimental
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |