Interface JobExecutableConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
JobExecutableConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.580Z")
@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.*; Code code; GlueVersion glueVersion; JobType jobType; 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) .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.(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).- 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.
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.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.Default: - no extra jars specified.
- See Also:
-
getExtraJarsFirst
(experimental) Setting this value to true prioritizes the customer's extra JAR files in the classpath.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.Default: - no extra python files specified.
- See Also:
-
getPythonVersion
(experimental) The Python version to use.Default: - no python version specified
-
builder
- Returns:
- a
JobExecutableConfig.Builder
ofJobExecutableConfig
-