Class CfnEnvironment.ModuleLoggingConfigurationProperty
Defines the type of logs to send for the Apache Airflow log type (e.g. DagProcessingLogs
).
Inherited Members
Namespace: Amazon.CDK.AWS.MWAA
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEnvironment.ModuleLoggingConfigurationProperty : CfnEnvironment.IModuleLoggingConfigurationProperty
Syntax (vb)
Public Class CfnEnvironment.ModuleLoggingConfigurationProperty Implements CfnEnvironment.IModuleLoggingConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MWAA;
var moduleLoggingConfigurationProperty = new ModuleLoggingConfigurationProperty {
CloudWatchLogGroupArn = "cloudWatchLogGroupArn",
Enabled = false,
LogLevel = "logLevel"
};
Synopsis
Constructors
ModuleLoggingConfigurationProperty() | Defines the type of logs to send for the Apache Airflow log type (e.g. |
Properties
CloudWatchLogGroupArn | The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled. |
Enabled | Indicates whether to enable the Apache Airflow log type (e.g. |
LogLevel | Defines the Apache Airflow logs to send for the log type (e.g. |
Constructors
ModuleLoggingConfigurationProperty()
Defines the type of logs to send for the Apache Airflow log type (e.g. DagProcessingLogs
).
public ModuleLoggingConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MWAA;
var moduleLoggingConfigurationProperty = new ModuleLoggingConfigurationProperty {
CloudWatchLogGroupArn = "cloudWatchLogGroupArn",
Enabled = false,
LogLevel = "logLevel"
};
Properties
CloudWatchLogGroupArn
The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled.
public string? CloudWatchLogGroupArn { get; set; }
Property Value
Remarks
<code>CloudWatchLogGroupArn</code> is available only as a return value, accessible when specified as an attribute in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#aws-resource-mwaa-environment-return-values"><code>Fn:GetAtt</code></a> intrinsic function. Any value you provide for <code>CloudWatchLogGroupArn</code> is discarded by Amazon MWAA.
Enabled
Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs
) in CloudWatch Logs.
public object? Enabled { get; set; }
Property Value
Remarks
LogLevel
Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs
) to CloudWatch Logs. Valid values: CRITICAL
, ERROR
, WARNING
, INFO
.
public string? LogLevel { get; set; }