@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:07.731Z") @Stability(value=Experimental) public interface PythonSparkJobExecutableProps extends software.amazon.jsii.JsiiSerializable
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 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 List<Code> |
getExtraJars()
(experimental) Additional Java .jar files that AWS Glue adds to the Java classpath before executing your script.
|
default Boolean |
getExtraJarsFirst()
(experimental) Setting this value to true prioritizes the customer's extra JAR files in the classpath.
|
default 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.
|
@Stability(value=Experimental) @NotNull GlueVersion getGlueVersion()
@Stability(value=Experimental) @NotNull PythonVersion getPythonVersion()
@Stability(value=Experimental) @NotNull Code getScript()
@Stability(value=Experimental) @Nullable default List<Code> getExtraFiles()
Only individual files are supported, directories are not supported.
Default: [] - no extra files are copied to the working directory
@Stability(value=Experimental) @Nullable default List<Code> getExtraJars()
Default: [] - no extra jars are added to the classpath
@Stability(value=Experimental) @Nullable default Boolean getExtraJarsFirst()
Default: false - priority is not given to user-provided jars
@Stability(value=Experimental) @Nullable default List<Code> getExtraPythonFiles()
Only individual files are supported, directories are not supported.
Default: - no extra python files and argument is not set
@Stability(value=Experimental) static PythonSparkJobExecutableProps.Builder builder()
Copyright © 2022. All rights reserved.