@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-13T01:13:35.185Z")
public interface PythonSparkJobExecutableProps
Example:
Job.Builder.create(this, "PythonSparkStreamingJob") .executable(JobExecutable.pythonStreaming(PythonSparkJobExecutableProps.builder() .glueVersion(GlueVersion.V2_0) .pythonVersion(PythonVersion.THREE) .script(Code.fromAsset(join(__dirname, "job-script/hello_world.py"))) .build())) .description("an example Python Streaming job") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
PythonSparkJobExecutableProps.Builder
A builder for
PythonSparkJobExecutableProps |
static class |
PythonSparkJobExecutableProps.Jsii$Proxy
An implementation for
PythonSparkJobExecutableProps |
Modifier and Type | Method and Description |
---|---|
static PythonSparkJobExecutableProps.Builder |
builder() |
default java.util.List<Code> |
getExtraFiles()
(experimental) Additional files, such as configuration files that AWS Glue copies to the working directory of your script before executing it.
|
default java.util.List<Code> |
getExtraJars()
(experimental) Additional Java .jar files that AWS Glue adds to the Java classpath before executing your script.
|
default java.lang.Boolean |
getExtraJarsFirst()
(experimental) Setting this value to true prioritizes the customer's extra JAR files in the classpath.
|
default java.util.List<Code> |
getExtraPythonFiles()
(experimental) Additional Python files that AWS Glue adds to the Python path before executing your script.
|
GlueVersion |
getGlueVersion()
(experimental) Glue version.
|
PythonVersion |
getPythonVersion()
(experimental) The Python version to use.
|
Code |
getScript()
(experimental) The script that executes a job.
|
GlueVersion getGlueVersion()
https://docs.aws.amazon.com/glue/latest/dg/release-notes.html
PythonVersion getPythonVersion()
Code getScript()
default java.util.List<Code> getExtraFiles()
Only individual files are supported, directories are not supported.
Default: [] - no extra files are copied to the working directory
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
default java.util.List<Code> getExtraJars()
Default: [] - no extra jars are added to the classpath
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
default java.lang.Boolean getExtraJarsFirst()
Default: false - priority is not given to user-provided jars
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
default java.util.List<Code> getExtraPythonFiles()
Only individual files are supported, directories are not supported.
Default: - no extra python files and argument is not set
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
static PythonSparkJobExecutableProps.Builder builder()