@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:07.730Z") @Stability(value=Experimental) public interface PythonShellExecutableProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
PythonShellExecutableProps.Builder
A builder for
PythonShellExecutableProps |
static class |
PythonShellExecutableProps.Jsii$Proxy
An implementation for
PythonShellExecutableProps |
| Modifier and Type | Method and Description |
|---|---|
static PythonShellExecutableProps.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> |
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> getExtraPythonFiles()
Only individual files are supported, directories are not supported.
Default: - no extra python files and argument is not set
@Stability(value=Experimental) static PythonShellExecutableProps.Builder builder()
PythonShellExecutableProps.Builder of PythonShellExecutablePropsCopyright © 2022. All rights reserved.