Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data LustreLogConfiguration = LustreLogConfiguration' {}
- newLustreLogConfiguration :: LustreAccessAuditLogLevel -> LustreLogConfiguration
- lustreLogConfiguration_destination :: Lens' LustreLogConfiguration (Maybe Text)
- lustreLogConfiguration_level :: Lens' LustreLogConfiguration LustreAccessAuditLogLevel
Documentation
data LustreLogConfiguration Source #
The configuration for Lustre logging used to write the enabled logging events for your Amazon FSx for Lustre file system or Amazon File Cache resource to Amazon CloudWatch Logs.
See: newLustreLogConfiguration
smart constructor.
LustreLogConfiguration' | |
|
Instances
newLustreLogConfiguration Source #
Create a value of LustreLogConfiguration
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:destination:LustreLogConfiguration'
, lustreLogConfiguration_destination
- The Amazon Resource Name (ARN) that specifies the destination of the
logs. The destination can be any Amazon CloudWatch Logs log group ARN.
The destination ARN must be in the same Amazon Web Services partition,
Amazon Web Services Region, and Amazon Web Services account as your
Amazon FSx file system.
$sel:level:LustreLogConfiguration'
, lustreLogConfiguration_level
- The data repository events that are logged by Amazon FSx.
WARN_ONLY
- only warning events are logged.ERROR_ONLY
- only error events are logged.WARN_ERROR
- both warning events and error events are logged.DISABLED
- logging of data repository events is turned off.
Note that Amazon File Cache uses a default setting of WARN_ERROR
,
which can't be changed.
lustreLogConfiguration_destination :: Lens' LustreLogConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) that specifies the destination of the logs. The destination can be any Amazon CloudWatch Logs log group ARN. The destination ARN must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
lustreLogConfiguration_level :: Lens' LustreLogConfiguration LustreAccessAuditLogLevel Source #
The data repository events that are logged by Amazon FSx.
WARN_ONLY
- only warning events are logged.ERROR_ONLY
- only error events are logged.WARN_ERROR
- both warning events and error events are logged.DISABLED
- logging of data repository events is turned off.
Note that Amazon File Cache uses a default setting of WARN_ERROR
,
which can't be changed.