Interface PythonShellJobProps
- All Superinterfaces:
JobProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PythonShellJobProps.Jsii$Proxy
Example:
import software.amazon.awscdk.*; import software.amazon.awscdk.services.iam.*; Stack stack; IRole role; Code script; PythonShellJob.Builder.create(stack, "ImportedJob").role(role).script(script).build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPythonShellJobPropsstatic final classAn implementation forPythonShellJobProps -
Method Summary
Modifier and TypeMethodDescriptionstatic PythonShellJobProps.Builderbuilder()Additional Python files that AWS Glue adds to the Python path before executing your script.default BooleanSpecifies whether job run queuing is enabled for the job runs for this job.default LibrarySetThe set of pre-installed Python libraries to make available to the job.default MaxCapacityThe total number of DPU to assign to the Python Job.default PythonVersionThe version of Python to use to execute this job.Methods inherited from interface software.amazon.awscdk.services.glue.JobProps
getConnections, getContinuousLogging, getDefaultArguments, getDescription, getGlueVersion, getJobName, getMaxConcurrentRuns, getMaxRetries, getRole, getScript, getSecurityConfiguration, getTags, getTimeoutMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExtraPythonFiles
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 the
--extra-py-filesjob argument.Default: - no extra Python files
- See Also:
-
getJobRunQueuingEnabled
Specifies whether job run queuing is enabled for the job runs for this job.A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing. If this field does not match the value set in the job run, then the value from the job run field will be used. This property must be set to false for flex jobs. If this property is enabled, maxRetries must be set to zero.
Default: false
-
getLibrarySet
The set of pre-installed Python libraries to make available to the job.Only applies to jobs running Python 3.9. Set to
LibrarySet.NONEwhen your libraries are custom or conflict with the pre-installed ones.Default: LibrarySet.ANALYTICS when running Python 3.9, otherwise no library set is configured
- See Also:
-
getMaxCapacity
The total number of DPU to assign to the Python Job.Default: 0.0625
-
getPythonVersion
The version of Python to use to execute this job.Python shell jobs only support
PythonVersion.THREE_NINE. The olderPythonVersion.TWO(Python 2.7) andPythonVersion.THREE(Python 3.6) runtimes have been retired by AWS Glue and are no longer available for Python shell jobs.Default: PythonVersion.THREE_NINE
-
builder
- Returns:
- a
PythonShellJobProps.BuilderofPythonShellJobProps
-