Interface ScalaJobExecutableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScalaJobExecutableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:07.921Z")
@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.V4_0) .script(Code.fromBucket(bucket, "src/com/example/HelloWorld.scala")) .className("com.example.HelloWorld") .extraJars(List.of(Code.fromBucket(bucket, "jars/HelloWorld.jar"))) .build())) .workerType(WorkerType.G_8X) .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.default Runtime
(experimental) Runtime.(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.Equivalent to a job parameter
--class
.- See Also:
-
getGlueVersion
(experimental) Glue version.- See Also:
-
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. Equivalent to a job parameter
--extra-files
.Default: [] - no extra files are copied to the working directory
- See Also:
-
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. Equivalent to a job parameter--extra-jars
.Default: [] - no extra jars are added to the classpath
- See Also:
-
getExtraJarsFirst
(experimental) Setting this value to true prioritizes the customer's extra JAR files in the classpath.Equivalent to a job parameter
--user-jars-first
.Default: false - priority is not given to user-provided jars
- See Also:
-
getRuntime
(experimental) Runtime.It is required for Ray jobs.
-
builder
- Returns:
- a
ScalaJobExecutableProps.Builder
ofScalaJobExecutableProps
-