aws-cdk-lib.aws_mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty

interface ModuleLoggingConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.MWAA.CfnEnvironment.ModuleLoggingConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmwaa#CfnEnvironment_ModuleLoggingConfigurationProperty
Javasoftware.amazon.awscdk.services.mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty
Pythonaws_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

NameTypeDescription
cloudWatchLogGroupArn?stringThe ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled.
enabled?boolean | IResolvableIndicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs ) in CloudWatch Logs.
logLevel?stringDefines 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.

CloudWatchLogGroupArn is available only as a return value, accessible when specified as an attribute in the Fn:GetAtt intrinsic function. Any value you provide for CloudWatchLogGroupArn is 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 .