Interface PythonRayExecutableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PythonRayExecutableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.584Z")
@Stability(Experimental)
public interface PythonRayExecutableProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Props for creating a Python Ray job executable.
Example:
Job.Builder.create(this, "RayJob") .executable(JobExecutable.pythonRay(PythonRayExecutableProps.builder() .glueVersion(GlueVersion.V4_0) .pythonVersion(PythonVersion.THREE_NINE) .runtime(Runtime.RAY_TWO_FOUR) .script(Code.fromAsset(join(__dirname, "job-script", "hello_world.py"))) .build())) .workerType(WorkerType.Z_2X) .workerCount(2) .description("an example Ray job") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forPythonRayExecutableProps
static final class
An implementation forPythonRayExecutableProps
-
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) Glue version.(experimental) The Python version to use.default Runtime
(experimental) Runtime.(experimental) Additional Python modules that AWS Glue adds to the Python path before executing your script.(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:
-
getRuntime
(experimental) Runtime.It is required for Ray jobs.
-
getS3PythonModules
(experimental) Additional Python modules that AWS Glue adds to the Python path before executing your script.Equivalent to a job parameter
--s3-py-modules
.Default: - no extra python files and argument is not set
- See Also:
-
builder
- Returns:
- a
PythonRayExecutableProps.Builder
ofPythonRayExecutableProps
-