Interface ScalaJobExecutableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScalaJobExecutableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.592Z")
@Stability(Experimental)
public interface ScalaJobExecutableProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Props for creating a Scala Spark (ETL or Streaming) job executable.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forScalaJobExecutableProps
static final class
An implementation forScalaJobExecutableProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
(experimental) The fully qualified Scala class name 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) Glue version.(experimental) The script that executes a job.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClassName
(experimental) The fully qualified Scala class name that serves as the entry point for the job. -
getGlueVersion
(experimental) Glue version. -
getScript
(experimental) The script that executes a job. -
getExtraFiles
(experimental) Additional files, such as configuration files that AWS Glue copies to the working directory of your script before executing it.Only individual files are supported, directories are not supported.
Default: [] - no extra files are copied to the working directory
-
getExtraJars
(experimental) Additional Java .jar files that AWS Glue adds to the Java classpath before executing your script. Only individual files are supported, directories are not supported.Default: [] - no extra jars are added to the classpath
-
getExtraJarsFirst
(experimental) Setting this value to true prioritizes the customer's extra JAR files in the classpath.Default: false - priority is not given to user-provided jars
-
builder
- Returns:
- a
ScalaJobExecutableProps.Builder
ofScalaJobExecutableProps
-