Interface PythonShellExecutableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PythonShellExecutableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:07.915Z")
@Stability(Experimental)
public interface PythonShellExecutableProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Props for creating a Python shell job executable.
Example:
Bucket bucket; Job.Builder.create(this, "PythonShellJob") .executable(JobExecutable.pythonShell(PythonShellExecutableProps.builder() .glueVersion(GlueVersion.V1_0) .pythonVersion(PythonVersion.THREE) .script(Code.fromBucket(bucket, "script.py")) .build())) .description("an example Python Shell job") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forPythonShellExecutableProps
static final class
An implementation forPythonShellExecutableProps
-
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 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:
-
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
- Returns:
- a
PythonShellExecutableProps.Builder
ofPythonShellExecutableProps
-