Interface PythonSparkJobExecutableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PythonSparkJobExecutableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:25.640Z")
@Stability(Experimental)
public interface PythonSparkJobExecutableProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Props for creating a Python Spark (ETL or Streaming) job executable.
Example:
Job.Builder.create(this, "PythonSparkStreamingJob") .executable(JobExecutable.pythonStreaming(PythonSparkJobExecutableProps.builder() .glueVersion(GlueVersion.V4_0) .pythonVersion(PythonVersion.THREE) .script(Code.fromAsset(join(__dirname, "job-script", "hello_world.py"))) .build())) .description("an example Python Streaming job") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forPythonSparkJobExecutableProps
static final class
An implementation forPythonSparkJobExecutableProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
(experimental) Additional files, such as configuration files that AWS Glue copies to the working directory of your script before executing it.(experimental) Additional Java .jar files that AWS Glue adds to the Java classpath before executing your script.default Boolean
(experimental) Setting this value to true prioritizes the customer's extra JAR files in the classpath.(experimental) Additional Python files that AWS Glue adds to the Python path before executing your script.(experimental) Glue version.(experimental) The Python version to use.default Runtime
(experimental) Runtime.(experimental) The script that executes a job.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGlueVersion
(experimental) Glue version.- See Also:
-
getPythonVersion
(experimental) The Python version to use. -
getScript
(experimental) The script that executes a job. -
getExtraFiles
(experimental) Additional files, such as configuration files that AWS Glue copies to the working directory of your script before executing it.Only individual files are supported, directories are not supported. Equivalent to a job parameter
--extra-files
.Default: [] - no extra files are copied to the working directory
- See Also:
-
getExtraJars
(experimental) Additional Java .jar files that AWS Glue adds to the Java classpath before executing your script. Only individual files are supported, directories are not supported. Equivalent to a job parameter--extra-jars
.Default: [] - no extra jars are added to the classpath
- See Also:
-
getExtraJarsFirst
(experimental) Setting this value to true prioritizes the customer's extra JAR files in the classpath.Equivalent to a job parameter
--user-jars-first
.Default: false - priority is not given to user-provided jars
- See Also:
-
getExtraPythonFiles
(experimental) Additional Python files that AWS Glue adds to the Python path before executing your script.Only individual files are supported, directories are not supported. Equivalent to a job parameter
--extra-py-files
.Default: - no extra python files and argument is not set
- See Also:
-
getRuntime
(experimental) Runtime.It is required for Ray jobs.
-
builder
-