| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.MwAA.Types.ModuleLoggingConfiguration
Description
Synopsis
- data ModuleLoggingConfiguration = ModuleLoggingConfiguration' {}
- newModuleLoggingConfiguration :: ModuleLoggingConfiguration
- moduleLoggingConfiguration_logLevel :: Lens' ModuleLoggingConfiguration (Maybe LoggingLevel)
- moduleLoggingConfiguration_enabled :: Lens' ModuleLoggingConfiguration (Maybe Bool)
- moduleLoggingConfiguration_cloudWatchLogGroupArn :: Lens' ModuleLoggingConfiguration (Maybe Text)
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
| |
Instances
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:*.