@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-13T01:13:35.178Z")
public interface JobExecutableConfig
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();
Modifier and Type | Interface and Description |
---|---|
static class |
JobExecutableConfig.Builder
A builder for
JobExecutableConfig |
static class |
JobExecutableConfig.Jsii$Proxy
An implementation for
JobExecutableConfig |
Modifier and Type | Method and Description |
---|---|
static JobExecutableConfig.Builder |
builder() |
default java.lang.String |
getClassName()
(experimental) The Scala class that serves as the entry point for the job.
|
default java.util.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 java.util.List<Code> |
getExtraJars()
(experimental) Additional Java .jar files that AWS Glue adds to the Java classpath before executing your script.
|
default java.lang.Boolean |
getExtraJarsFirst()
(experimental) Setting this value to true prioritizes the customer's extra JAR files in the classpath.
|
default java.util.List<Code> |
getExtraPythonFiles()
(experimental) Additional Python files that AWS Glue adds to the Python path before executing your script.
|
GlueVersion |
getGlueVersion()
(experimental) Glue version.
|
JobLanguage |
getLanguage()
(experimental) The language of the job (Scala or Python).
|
default PythonVersion |
getPythonVersion()
(experimental) The Python version to use.
|
Code |
getScript()
(experimental) The script that is executed by a job.
|
JobType |
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.
|
GlueVersion getGlueVersion()
https://docs.aws.amazon.com/glue/latest/dg/release-notes.html
JobLanguage getLanguage()
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
Code getScript()
JobType getType()
default java.lang.String getClassName()
This applies only if your the job langauage is Scala.
Default: - no scala className specified
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
default java.util.List<Code> getExtraFiles()
Default: - no extra files specified.
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
default java.util.List<Code> getExtraJars()
Default: - no extra jars specified.
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
default java.lang.Boolean getExtraJarsFirst()
Default: - extra jars are not prioritized.
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
default java.util.List<Code> getExtraPythonFiles()
Default: - no extra python files specified.
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
default PythonVersion getPythonVersion()
Default: - no python version specified
static JobExecutableConfig.Builder builder()
JobExecutableConfig.Builder
of JobExecutableConfig