libZSservicesZSamazonka-mwaaZSamazonka-mwaa
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MwAA.Types.ModuleLoggingConfiguration

Description

 
Synopsis

Documentation

data ModuleLoggingConfiguration Source #

Defines the type of logs to send for the Apache Airflow log type (e.g. DagProcessingLogs). Valid values: CloudWatchLogGroupArn, Enabled, LogLevel.

See: newModuleLoggingConfiguration smart constructor.

Constructors

ModuleLoggingConfiguration' 

Fields

  • logLevel :: Maybe LoggingLevel

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

  • enabled :: Maybe Bool

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

  • cloudWatchLogGroupArn :: Maybe Text

    The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g. DagProcessingLogs) is published. For example, arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*.

Instances

Instances details
Eq ModuleLoggingConfiguration Source # 
Instance details

Defined in Amazonka.MwAA.Types.ModuleLoggingConfiguration

Read ModuleLoggingConfiguration Source # 
Instance details

Defined in Amazonka.MwAA.Types.ModuleLoggingConfiguration

Show ModuleLoggingConfiguration Source # 
Instance details

Defined in Amazonka.MwAA.Types.ModuleLoggingConfiguration

Generic ModuleLoggingConfiguration Source # 
Instance details

Defined in Amazonka.MwAA.Types.ModuleLoggingConfiguration

Associated Types

type Rep ModuleLoggingConfiguration :: Type -> Type #

NFData ModuleLoggingConfiguration Source # 
Instance details

Defined in Amazonka.MwAA.Types.ModuleLoggingConfiguration

Hashable ModuleLoggingConfiguration Source # 
Instance details

Defined in Amazonka.MwAA.Types.ModuleLoggingConfiguration

FromJSON ModuleLoggingConfiguration Source # 
Instance details

Defined in Amazonka.MwAA.Types.ModuleLoggingConfiguration

type Rep ModuleLoggingConfiguration Source # 
Instance details

Defined in Amazonka.MwAA.Types.ModuleLoggingConfiguration

type Rep ModuleLoggingConfiguration = D1 ('MetaData "ModuleLoggingConfiguration" "Amazonka.MwAA.Types.ModuleLoggingConfiguration" "libZSservicesZSamazonka-mwaaZSamazonka-mwaa" 'False) (C1 ('MetaCons "ModuleLoggingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingLevel)) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cloudWatchLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newModuleLoggingConfiguration :: ModuleLoggingConfiguration Source #

Create a value of ModuleLoggingConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:logLevel:ModuleLoggingConfiguration', moduleLoggingConfiguration_logLevel - Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs) to CloudWatch Logs. Valid values: CRITICAL, ERROR, WARNING, INFO.

$sel:enabled:ModuleLoggingConfiguration', moduleLoggingConfiguration_enabled - Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs) in CloudWatch Logs.

$sel:cloudWatchLogGroupArn:ModuleLoggingConfiguration', moduleLoggingConfiguration_cloudWatchLogGroupArn - The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g. DagProcessingLogs) is published. For example, arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*.

moduleLoggingConfiguration_logLevel :: Lens' ModuleLoggingConfiguration (Maybe LoggingLevel) Source #

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

moduleLoggingConfiguration_enabled :: Lens' ModuleLoggingConfiguration (Maybe Bool) Source #

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

moduleLoggingConfiguration_cloudWatchLogGroupArn :: Lens' ModuleLoggingConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g. DagProcessingLogs) is published. For example, arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*.