SparkUILoggingLocation

class aws_cdk.aws_glue.SparkUILoggingLocation(*, bucket, prefix=None)

Bases: object

(experimental) The Spark UI logging location.

Parameters:
  • bucket (IBucket) – (experimental) The bucket where the Glue job stores the logs.

  • prefix (Optional[str]) – (experimental) The path inside the bucket (objects prefix) where the Glue job stores the logs. Default: ‘/’ - the logs will be written at the root of the bucket

See:

https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_glue as glue
import aws_cdk.aws_s3 as s3

# bucket: s3.Bucket

spark_uILogging_location = glue.SparkUILoggingLocation(
    bucket=bucket,

    # the properties below are optional
    prefix="prefix"
)

Attributes

bucket

(experimental) The bucket where the Glue job stores the logs.

Stability:

experimental

prefix

(experimental) The path inside the bucket (objects prefix) where the Glue job stores the logs.

Default:

‘/’ - the logs will be written at the root of the bucket

Stability:

experimental