aws-cdk-lib.aws_mwaa.CfnEnvironment.LoggingConfigurationProperty

interface LoggingConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.MWAA.CfnEnvironment.LoggingConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmwaa#CfnEnvironment_LoggingConfigurationProperty
Javasoftware.amazon.awscdk.services.mwaa.CfnEnvironment.LoggingConfigurationProperty
Pythonaws_cdk.aws_mwaa.CfnEnvironment.LoggingConfigurationProperty
TypeScript aws-cdk-lib » aws_mwaa » CfnEnvironment » LoggingConfigurationProperty

The type of Apache Airflow logs to send to CloudWatch Logs.

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 loggingConfigurationProperty: mwaa.CfnEnvironment.LoggingConfigurationProperty = {
  dagProcessingLogs: {
    cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
    enabled: false,
    logLevel: 'logLevel',
  },
  schedulerLogs: {
    cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
    enabled: false,
    logLevel: 'logLevel',
  },
  taskLogs: {
    cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
    enabled: false,
    logLevel: 'logLevel',
  },
  webserverLogs: {
    cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
    enabled: false,
    logLevel: 'logLevel',
  },
  workerLogs: {
    cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
    enabled: false,
    logLevel: 'logLevel',
  },
};

Properties

NameTypeDescription
dagProcessingLogs?IResolvable | ModuleLoggingConfigurationPropertyDefines the processing logs sent to CloudWatch Logs and the logging level to send.
schedulerLogs?IResolvable | ModuleLoggingConfigurationPropertyDefines the scheduler logs sent to CloudWatch Logs and the logging level to send.
taskLogs?IResolvable | ModuleLoggingConfigurationPropertyDefines the task logs sent to CloudWatch Logs and the logging level to send.
webserverLogs?IResolvable | ModuleLoggingConfigurationPropertyDefines the web server logs sent to CloudWatch Logs and the logging level to send.
workerLogs?IResolvable | ModuleLoggingConfigurationPropertyDefines the worker logs sent to CloudWatch Logs and the logging level to send.

dagProcessingLogs?

Type: IResolvable | ModuleLoggingConfigurationProperty (optional)

Defines the processing logs sent to CloudWatch Logs and the logging level to send.


schedulerLogs?

Type: IResolvable | ModuleLoggingConfigurationProperty (optional)

Defines the scheduler logs sent to CloudWatch Logs and the logging level to send.


taskLogs?

Type: IResolvable | ModuleLoggingConfigurationProperty (optional)

Defines the task logs sent to CloudWatch Logs and the logging level to send.


webserverLogs?

Type: IResolvable | ModuleLoggingConfigurationProperty (optional)

Defines the web server logs sent to CloudWatch Logs and the logging level to send.


workerLogs?

Type: IResolvable | ModuleLoggingConfigurationProperty (optional)

Defines the worker logs sent to CloudWatch Logs and the logging level to send.