Interface PythonShellExecutableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PythonShellExecutableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.586Z")
@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.(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.
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.
Default: - no extra python files and argument is not set
- See Also:
-
builder
- Returns:
- a
PythonShellExecutableProps.Builder
ofPythonShellExecutableProps
-