@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-13T01:13:35.189Z")
public interface ScalaJobExecutableProps
Example:
Bucket bucket; Job.Builder.create(this, "ScalaSparkEtlJob") .executable(JobExecutable.scalaEtl(ScalaJobExecutableProps.builder() .glueVersion(GlueVersion.V2_0) .script(Code.fromBucket(bucket, "src/com/example/HelloWorld.scala")) .className("com.example.HelloWorld") .extraJars(List.of(Code.fromBucket(bucket, "jars/HelloWorld.jar"))) .build())) .description("an example Scala ETL job") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
ScalaJobExecutableProps.Builder
A builder for
ScalaJobExecutableProps |
static class |
ScalaJobExecutableProps.Jsii$Proxy
An implementation for
ScalaJobExecutableProps |
Modifier and Type | Method and Description |
---|---|
static ScalaJobExecutableProps.Builder |
builder() |
java.lang.String |
getClassName()
(experimental) The fully qualified Scala class name 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.
|
GlueVersion |
getGlueVersion()
(experimental) Glue version.
|
Code |
getScript()
(experimental) The script that executes a job.
|
java.lang.String getClassName()
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
GlueVersion getGlueVersion()
https://docs.aws.amazon.com/glue/latest/dg/release-notes.html
Code getScript()
default java.util.List<Code> getExtraFiles()
Only individual files are supported, directories are not supported.
Default: [] - no extra files are copied to the working directory
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 are added to the classpath
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
default java.lang.Boolean getExtraJarsFirst()
Default: false - priority is not given to user-provided jars
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
static ScalaJobExecutableProps.Builder builder()
ScalaJobExecutableProps.Builder
of ScalaJobExecutableProps