Show / Hide Table of Contents

Class PythonShellExecutableProps

(experimental) Props for creating a Python shell job executable.

Inheritance
System.Object
PythonShellExecutableProps
Implements
IPythonShellExecutableProps
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public class PythonShellExecutableProps : Object, IPythonShellExecutableProps
Syntax (vb)
Public Class PythonShellExecutableProps
    Inherits Object
    Implements IPythonShellExecutableProps
Remarks

Stability: Experimental

ExampleMetadata: infused

Examples
Bucket bucket;

new Job(this, "PythonShellJob", new JobProps {
    Executable = JobExecutable.PythonShell(new PythonShellExecutableProps {
        GlueVersion = GlueVersion.V1_0,
        PythonVersion = PythonVersion.THREE,
        Script = Code.FromBucket(bucket, "script.py")
    }),
    Description = "an example Python Shell job"
});

Synopsis

Constructors

PythonShellExecutableProps()

Properties

ExtraFiles

(experimental) Additional files, such as configuration files that AWS Glue copies to the working directory of your script before executing it.

ExtraPythonFiles

(experimental) Additional Python files that AWS Glue adds to the Python path before executing your script.

GlueVersion

(experimental) Glue version.

PythonVersion

(experimental) The Python version to use.

Script

(experimental) The script that executes a job.

Constructors

PythonShellExecutableProps()

public PythonShellExecutableProps()

Properties

ExtraFiles

(experimental) Additional files, such as configuration files that AWS Glue copies to the working directory of your script before executing it.

public Code[] ExtraFiles { get; set; }
Property Value

Code[]

Remarks

Only individual files are supported, directories are not supported.

Default: [] - no extra files are copied to the working directory

Stability: Experimental

See: --extra-files in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html

ExtraPythonFiles

(experimental) Additional Python files that AWS Glue adds to the Python path before executing your script.

public Code[] ExtraPythonFiles { get; set; }
Property Value

Code[]

Remarks

Only individual files are supported, directories are not supported.

Default: - no extra python files and argument is not set

Stability: Experimental

See: --extra-py-files in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html

GlueVersion

(experimental) Glue version.

public GlueVersion GlueVersion { get; set; }
Property Value

GlueVersion

Remarks

Stability: Experimental

See: https://docs.aws.amazon.com/glue/latest/dg/release-notes.html

PythonVersion

(experimental) The Python version to use.

public PythonVersion PythonVersion { get; set; }
Property Value

PythonVersion

Remarks

Stability: Experimental

Script

(experimental) The script that executes a job.

public Code Script { get; set; }
Property Value

Code

Remarks

Stability: Experimental

Implements

IPythonShellExecutableProps
Back to top Generated by DocFX