amazonka-fsx-2.0: Amazon FSx 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.FSx.Types.LustreLogConfiguration

Description

 
Synopsis

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.

Constructors

LustreLogConfiguration' 

Fields

  • destination :: Maybe Text

    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.

  • level :: LustreAccessAuditLogLevel

    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.

Instances

Instances details
FromJSON LustreLogConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.LustreLogConfiguration

Generic LustreLogConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.LustreLogConfiguration

Associated Types

type Rep LustreLogConfiguration :: Type -> Type #

Read LustreLogConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.LustreLogConfiguration

Show LustreLogConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.LustreLogConfiguration

NFData LustreLogConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.LustreLogConfiguration

Methods

rnf :: LustreLogConfiguration -> () #

Eq LustreLogConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.LustreLogConfiguration

Hashable LustreLogConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.LustreLogConfiguration

type Rep LustreLogConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.LustreLogConfiguration

type Rep LustreLogConfiguration = D1 ('MetaData "LustreLogConfiguration" "Amazonka.FSx.Types.LustreLogConfiguration" "amazonka-fsx-2.0-6W1DYEEbHPkD4DJvTvpQG4" 'False) (C1 ('MetaCons "LustreLogConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LustreAccessAuditLogLevel)))

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.