amazonka-mwaa-2.0: Amazon MWAA SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MwAA.Types.ModuleLoggingConfiguration

Description

 
Synopsis

Documentation

data ModuleLoggingConfiguration Source #

Describes the Apache Airflow log details for the log type (e.g. DagProcessingLogs).

See: newModuleLoggingConfiguration smart constructor.

Constructors

ModuleLoggingConfiguration' 

Fields

  • 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:*.

  • enabled :: Maybe Bool

    Indicates whether the Apache Airflow log type (e.g. DagProcessingLogs) is enabled.

  • logLevel :: Maybe LoggingLevel

    The Apache Airflow log level for the log type (e.g. DagProcessingLogs).

Instances

Instances details
FromJSON 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 #

Read ModuleLoggingConfiguration Source # 
Instance details

Defined in Amazonka.MwAA.Types.ModuleLoggingConfiguration

Show ModuleLoggingConfiguration Source # 
Instance details

Defined in Amazonka.MwAA.Types.ModuleLoggingConfiguration

NFData ModuleLoggingConfiguration Source # 
Instance details

Defined in Amazonka.MwAA.Types.ModuleLoggingConfiguration

Eq ModuleLoggingConfiguration Source # 
Instance details

Defined in Amazonka.MwAA.Types.ModuleLoggingConfiguration

Hashable 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" "amazonka-mwaa-2.0-KORB5SeCyuF7wioeYKG3eR" 'False) (C1 ('MetaCons "ModuleLoggingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cloudWatchLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "logLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingLevel)))))

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: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:*.

$sel:enabled:ModuleLoggingConfiguration', moduleLoggingConfiguration_enabled - Indicates whether the Apache Airflow log type (e.g. DagProcessingLogs) is enabled.

$sel:logLevel:ModuleLoggingConfiguration', moduleLoggingConfiguration_logLevel - The Apache Airflow log level for the log type (e.g. DagProcessingLogs).

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:*.

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

Indicates whether the Apache Airflow log type (e.g. DagProcessingLogs) is enabled.

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

The Apache Airflow log level for the log type (e.g. DagProcessingLogs).