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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEnvironment.LoggingConfigurationPropertystatic final classAn implementation forCfnEnvironment.LoggingConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectDefines the processing logs sent to CloudWatch Logs and the logging level to send.default ObjectDefines the scheduler logs sent to CloudWatch Logs and the logging level to send.default ObjectDefines the task logs sent to CloudWatch Logs and the logging level to send.default ObjectDefines the web server logs sent to CloudWatch Logs and the logging level to send.default ObjectDefines the worker logs sent to CloudWatch Logs and the logging level to send.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDagProcessingLogs
Defines the processing logs sent to CloudWatch Logs and the logging level to send.Returns union: either
IResolvableorCfnEnvironment.ModuleLoggingConfigurationProperty- See Also:
-
getSchedulerLogs
Defines the scheduler logs sent to CloudWatch Logs and the logging level to send.Returns union: either
IResolvableorCfnEnvironment.ModuleLoggingConfigurationProperty- See Also:
-
getTaskLogs
Defines the task logs sent to CloudWatch Logs and the logging level to send.Returns union: either
IResolvableorCfnEnvironment.ModuleLoggingConfigurationProperty- See Also:
-
getWebserverLogs
Defines the web server logs sent to CloudWatch Logs and the logging level to send.Returns union: either
IResolvableorCfnEnvironment.ModuleLoggingConfigurationProperty- See Also:
-
getWorkerLogs
Defines the worker logs sent to CloudWatch Logs and the logging level to send.Returns union: either
IResolvableorCfnEnvironment.ModuleLoggingConfigurationProperty- See Also:
-
builder
-