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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for SparkUIProps
    static final class 
    An implementation for SparkUIProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    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

      @Stability(Experimental) @NotNull Boolean getEnabled()
      (experimental) Enable Spark UI.
    • getBucket

      @Stability(Experimental) @Nullable default IBucket getBucket()
      (experimental) The bucket where the Glue job stores the logs.

      Default: - a new bucket will be created.

    • getPrefix

      @Stability(Experimental) @Nullable default String 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

      @Stability(Experimental) static SparkUIProps.Builder builder()
      Returns:
      a SparkUIProps.Builder of SparkUIProps