AWS::MWAA::Environment ModuleLoggingConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::MWAA::Environment ModuleLoggingConfiguration

Defines the type of logs to send for the Apache Airflow log type (e.g. DagProcessingLogs).

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "CloudWatchLogGroupArn" : String, "Enabled" : Boolean, "LogLevel" : String }

YAML

CloudWatchLogGroupArn: String Enabled: Boolean LogLevel: String

Properties

CloudWatchLogGroupArn

The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled.

Note

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.

Required: No

Type: String

Pattern: ^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b)(-[a-z]+)?:logs:[a-z0-9\-]+:\d{12}:log-group:\w+

Maximum: 1224

Update requires: No interruption

Enabled

Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs) in CloudWatch Logs.

Required: No

Type: Boolean

Update requires: No interruption

LogLevel

Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs) to CloudWatch Logs. Valid values: CRITICAL, ERROR, WARNING, INFO.

Required: No

Type: String

Allowed values: CRITICAL | ERROR | WARNING | INFO | DEBUG

Update requires: No interruption