@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:31.537Z") @Stability(value=Experimental) public interface JobExecutableConfig extends software.amazon.jsii.JsiiSerializable
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 String |
getClassName()
(experimental) The Scala class that serves as the entry point for the job.
|
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> |
getExtraJars()
(experimental) Additional Java .jar files that AWS Glue adds to the Java classpath before executing your script.
|
default Boolean |
getExtraJarsFirst()
(experimental) Setting this value to true prioritizes the customer's extra JAR files in the classpath.
|
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.
|
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.
|
@Stability(value=Experimental) @NotNull GlueVersion getGlueVersion()
https://docs.aws.amazon.com/glue/latest/dg/release-notes.html@Stability(value=Experimental) @NotNull JobLanguage getLanguage()
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html@Stability(value=Experimental) @NotNull Code getScript()
@Stability(value=Experimental) @NotNull JobType getType()
@Stability(value=Experimental) @Nullable default 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@Stability(value=Experimental) @Nullable default List<Code> getExtraFiles()
Default: - no extra files specified.
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html@Stability(value=Experimental) @Nullable default List<Code> getExtraJars()
Default: - no extra jars specified.
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html@Stability(value=Experimental) @Nullable default Boolean getExtraJarsFirst()
Default: - extra jars are not prioritized.
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html@Stability(value=Experimental) @Nullable default 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@Stability(value=Experimental) @Nullable default PythonVersion getPythonVersion()
Default: - no python version specified
@Stability(value=Experimental) static JobExecutableConfig.Builder builder()
JobExecutableConfig.Builder of JobExecutableConfigCopyright © 2022. All rights reserved.