interface ModuleLoggingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MWAA.CfnEnvironment.ModuleLoggingConfigurationProperty |
Java | software.amazon.awscdk.services.mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty |
Python | aws_cdk.aws_mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty |
TypeScript | @aws-cdk/aws-mwaa » CfnEnvironment » ModuleLoggingConfigurationProperty |
Defines the type of logs to send for the Apache Airflow log type (e.g. DagProcessingLogs ).
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mwaa from '@aws-cdk/aws-mwaa';
const moduleLoggingConfigurationProperty: mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty = {
cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
enabled: false,
logLevel: 'logLevel',
};
Properties
| Name | Type | Description |
|---|---|---|
| cloud | string | The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled. |
| enabled? | boolean | IResolvable | Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs ) in CloudWatch Logs. |
| log | string | Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs ) to CloudWatch Logs. Valid values: CRITICAL , ERROR , WARNING , INFO . |
cloudWatchLogGroupArn?
Type:
string
(optional)
The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled.
CloudWatchLogGroupArnis available only as a return value, accessible when specified as an attribute in theFn:GetAttintrinsic function. Any value you provide forCloudWatchLogGroupArnis discarded by Amazon MWAA.
enabled?
Type:
boolean | IResolvable
(optional)
Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs ) in CloudWatch Logs.
logLevel?
Type:
string
(optional)
Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs ) to CloudWatch Logs. Valid values: CRITICAL , ERROR , WARNING , INFO .

.NET
Java
Python
TypeScript