Interface JobExecutableConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
JobExecutableConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.581Z")
@Stability(Experimental)
public interface JobExecutableConfig
extends software.amazon.jsii.JsiiSerializable
(experimental) Result of binding a
JobExecutable
into a Job
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.glue.alpha.*; Code code; GlueVersion glueVersion; JobType jobType; Runtime runtime; JobExecutableConfig jobExecutableConfig = JobExecutableConfig.builder() .glueVersion(glueVersion) .language(JobLanguage.SCALA) .script(code) .type(jobType) // the properties below are optional .className("className") .extraFiles(List.of(code)) .extraJars(List.of(code)) .extraJarsFirst(false) .extraPythonFiles(List.of(code)) .pythonVersion(PythonVersion.TWO) .runtime(runtime) .s3PythonModules(List.of(code)) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forJobExecutableConfig
static final class
An implementation forJobExecutableConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic JobExecutableConfig.Builder
builder()
default String
(experimental) The Scala class that serves as the entry point for the job.(experimental) Additional files, such as configuration files that AWS Glue copies to the working directory of your script before executing it.(experimental) Additional Java .jar files that AWS Glue adds to the Java classpath before executing your script.default Boolean
(experimental) Setting this value to true prioritizes the customer's extra JAR files in the classpath.(experimental) Additional Python files that AWS Glue adds to the Python path before executing your script.(experimental) Glue version.(experimental) The language of the job (Scala or Python).default PythonVersion
(experimental) The Python version to use.default Runtime
(experimental) The Runtime to use.(experimental) Additional Python modules that AWS Glue adds to the Python path before executing your script.(experimental) The script that is executed by a job.getType()
(experimental) Specify the type of the job whether it's an Apache Spark ETL or streaming one or if it's a Python shell job.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGlueVersion
(experimental) Glue version.- See Also:
-
getLanguage
(experimental) The language of the job (Scala or Python).Equivalent to a job parameter
--job-language
.- See Also:
-
getScript
(experimental) The script that is executed by a job. -
getType
(experimental) Specify the type of the job whether it's an Apache Spark ETL or streaming one or if it's a Python shell job. -
getClassName
(experimental) The Scala class that serves as the entry point for the job.This applies only if your the job langauage is Scala. Equivalent to a job parameter
--class
.Default: - no scala className specified
- See Also:
-
getExtraFiles
(experimental) Additional files, such as configuration files that AWS Glue copies to the working directory of your script before executing it.Equivalent to a job parameter
--extra-files
.Default: - no extra files specified.
- See Also:
-
getExtraJars
(experimental) Additional Java .jar files that AWS Glue adds to the Java classpath before executing your script. Equivalent to a job parameter--extra-jars
.Default: - no extra jars specified.
- See Also:
-
getExtraJarsFirst
(experimental) Setting this value to true prioritizes the customer's extra JAR files in the classpath.Equivalent to a job parameter
--user-jars-first
.Default: - extra jars are not prioritized.
- See Also:
-
getExtraPythonFiles
(experimental) Additional Python files that AWS Glue adds to the Python path before executing your script.Equivalent to a job parameter
--extra-py-files
.Default: - no extra python files specified.
- See Also:
-
getPythonVersion
(experimental) The Python version to use.Default: - no python version specified
-
getRuntime
(experimental) The Runtime to use.Default: - no runtime specified
-
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 specified.
- See Also:
-
builder
- Returns:
- a
JobExecutableConfig.Builder
ofJobExecutableConfig
-