SparkUIProps
- class aws_cdk.aws_glue.SparkUIProps(*, bucket=None, prefix=None)
Bases:
objectProperties for enabling Spark UI monitoring feature for Spark-based Glue jobs.
- Parameters:
bucket (
Optional[IBucket]) – The bucket where the Glue job stores the logs. Default: a new bucket will be created.prefix (
Optional[str]) – 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
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue from aws_cdk import aws_s3 as s3 # bucket: s3.Bucket spark_ui_props = glue.SparkUIProps( bucket=bucket, prefix="prefix" )
Attributes
- bucket
The bucket where the Glue job stores the logs.
- Default:
a new bucket will be created.
- prefix
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