Interface SparkUIProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SparkUIProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:07.925Z")
@Stability(Experimental)
public interface SparkUIProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for enabling Spark UI monitoring feature for Spark-based Glue jobs.
Example:
Job.Builder.create(this, "EnableSparkUI") .jobName("EtlJobWithSparkUIPrefix") .sparkUI(SparkUIProps.builder() .enabled(true) .build()) .executable(JobExecutable.pythonEtl(PythonSparkJobExecutableProps.builder() .glueVersion(GlueVersion.V3_0) .pythonVersion(PythonVersion.THREE) .script(Code.fromAsset(join(__dirname, "job-script", "hello_world.py"))) .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forSparkUIProps
static final class
An implementation forSparkUIProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic SparkUIProps.Builder
builder()
default IBucket
(experimental) The bucket where the Glue job stores the logs.(experimental) Enable Spark UI.default String
(experimental) The path inside the bucket (objects prefix) where the Glue job stores the logs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
(experimental) Enable Spark UI. -
getBucket
(experimental) The bucket where the Glue job stores the logs.Default: - a new bucket will be created.
-
getPrefix
(experimental) The path inside the bucket (objects prefix) where the Glue job stores the logs.Use format
'foo/bar/'
Default: - the logs will be written at the root of the bucket
-
builder
- Returns:
- a
SparkUIProps.Builder
ofSparkUIProps
-