Interface CfnEnvironment.LoggingConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnEnvironment.LoggingConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnEnvironment

@Stability(Stable) public static interface CfnEnvironment.LoggingConfigurationProperty extends software.amazon.jsii.JsiiSerializable
The type of Apache Airflow logs to send to CloudWatch Logs.

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.mwaa.*;
 LoggingConfigurationProperty loggingConfigurationProperty = LoggingConfigurationProperty.builder()
         .dagProcessingLogs(ModuleLoggingConfigurationProperty.builder()
                 .cloudWatchLogGroupArn("cloudWatchLogGroupArn")
                 .enabled(false)
                 .logLevel("logLevel")
                 .build())
         .schedulerLogs(ModuleLoggingConfigurationProperty.builder()
                 .cloudWatchLogGroupArn("cloudWatchLogGroupArn")
                 .enabled(false)
                 .logLevel("logLevel")
                 .build())
         .taskLogs(ModuleLoggingConfigurationProperty.builder()
                 .cloudWatchLogGroupArn("cloudWatchLogGroupArn")
                 .enabled(false)
                 .logLevel("logLevel")
                 .build())
         .webserverLogs(ModuleLoggingConfigurationProperty.builder()
                 .cloudWatchLogGroupArn("cloudWatchLogGroupArn")
                 .enabled(false)
                 .logLevel("logLevel")
                 .build())
         .workerLogs(ModuleLoggingConfigurationProperty.builder()
                 .cloudWatchLogGroupArn("cloudWatchLogGroupArn")
                 .enabled(false)
                 .logLevel("logLevel")
                 .build())
         .build();
 
  • Method Details

    • getDagProcessingLogs

      @Stability(Stable) @Nullable default Object getDagProcessingLogs()
      Defines the processing logs sent to CloudWatch Logs and the logging level to send.
    • getSchedulerLogs

      @Stability(Stable) @Nullable default Object getSchedulerLogs()
      Defines the scheduler logs sent to CloudWatch Logs and the logging level to send.
    • getTaskLogs

      @Stability(Stable) @Nullable default Object getTaskLogs()
      Defines the task logs sent to CloudWatch Logs and the logging level to send.
    • getWebserverLogs

      @Stability(Stable) @Nullable default Object getWebserverLogs()
      Defines the web server logs sent to CloudWatch Logs and the logging level to send.
    • getWorkerLogs

      @Stability(Stable) @Nullable default Object getWorkerLogs()
      Defines the worker logs sent to CloudWatch Logs and the logging level to send.
    • builder

      @Stability(Stable) static CfnEnvironment.LoggingConfigurationProperty.Builder builder()
      Returns:
      a CfnEnvironment.LoggingConfigurationProperty.Builder of CfnEnvironment.LoggingConfigurationProperty