interface ModuleLoggingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MWAA.CfnEnvironment.ModuleLoggingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmwaa#CfnEnvironment_ModuleLoggingConfigurationProperty |
Java | software.amazon.awscdk.services.mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty |
Python | aws_cdk.aws_mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty |
TypeScript | aws-cdk-lib » 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 { aws_mwaa as mwaa } from 'aws-cdk-lib';
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. |
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.

.NET
Go
Java
Python
TypeScript