Interface ContinuousLoggingProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ContinuousLoggingProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.539Z") @Stability(Experimental) public interface ContinuousLoggingProps extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for enabling Continuous Logging for Glue Jobs.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.glue.*;
 import software.amazon.awscdk.services.logs.*;
 LogGroup logGroup;
 ContinuousLoggingProps continuousLoggingProps = ContinuousLoggingProps.builder()
         .enabled(false)
         // the properties below are optional
         .conversionPattern("conversionPattern")
         .logGroup(logGroup)
         .logStreamPrefix("logStreamPrefix")
         .quiet(false)
         .build();
 

See Also:
  • Method Details

    • getEnabled

      @Stability(Experimental) @NotNull Boolean getEnabled()
      (experimental) Enable continouous logging.
    • getConversionPattern

      @Stability(Experimental) @Nullable default String getConversionPattern()
      (experimental) Apply the provided conversion pattern.

      This is a Log4j Conversion Pattern to customize driver and executor logs.

      Default: `%d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n`

    • getLogGroup

      @Stability(Experimental) @Nullable default ILogGroup getLogGroup()
      (experimental) Specify a custom CloudWatch log group name.

      Default: - a log group is created with name `/aws-glue/jobs/logs-v2/`.

    • getLogStreamPrefix

      @Stability(Experimental) @Nullable default String getLogStreamPrefix()
      (experimental) Specify a custom CloudWatch log stream prefix.

      Default: - the job run ID.

    • getQuiet

      @Stability(Experimental) @Nullable default Boolean getQuiet()
      (experimental) Filter out non-useful Apache Spark driver/executor and Apache Hadoop YARN heartbeat log messages.

      Default: true

    • builder

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