libZSservicesZSamazonka-eksZSamazonka-eks
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.EKS.Types.LogSetup

Description

 
Synopsis

Documentation

data LogSetup Source #

An object representing the enabled or disabled Kubernetes control plane logs for your cluster.

See: newLogSetup smart constructor.

Constructors

LogSetup' 

Fields

  • enabled :: Maybe Bool

    If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be enabled or disabled independently.

  • types :: Maybe [LogType]

    The available cluster control plane log types.

Instances

Instances details
Eq LogSetup Source # 
Instance details

Defined in Amazonka.EKS.Types.LogSetup

Read LogSetup Source # 
Instance details

Defined in Amazonka.EKS.Types.LogSetup

Show LogSetup Source # 
Instance details

Defined in Amazonka.EKS.Types.LogSetup

Generic LogSetup Source # 
Instance details

Defined in Amazonka.EKS.Types.LogSetup

Associated Types

type Rep LogSetup :: Type -> Type #

Methods

from :: LogSetup -> Rep LogSetup x #

to :: Rep LogSetup x -> LogSetup #

NFData LogSetup Source # 
Instance details

Defined in Amazonka.EKS.Types.LogSetup

Methods

rnf :: LogSetup -> () #

Hashable LogSetup Source # 
Instance details

Defined in Amazonka.EKS.Types.LogSetup

Methods

hashWithSalt :: Int -> LogSetup -> Int #

hash :: LogSetup -> Int #

ToJSON LogSetup Source # 
Instance details

Defined in Amazonka.EKS.Types.LogSetup

FromJSON LogSetup Source # 
Instance details

Defined in Amazonka.EKS.Types.LogSetup

type Rep LogSetup Source # 
Instance details

Defined in Amazonka.EKS.Types.LogSetup

type Rep LogSetup = D1 ('MetaData "LogSetup" "Amazonka.EKS.Types.LogSetup" "libZSservicesZSamazonka-eksZSamazonka-eks" 'False) (C1 ('MetaCons "LogSetup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "types") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LogType]))))

newLogSetup :: LogSetup Source #

Create a value of LogSetup 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:enabled:LogSetup', logSetup_enabled - If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be enabled or disabled independently.

$sel:types:LogSetup', logSetup_types - The available cluster control plane log types.

logSetup_enabled :: Lens' LogSetup (Maybe Bool) Source #

If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be enabled or disabled independently.

logSetup_types :: Lens' LogSetup (Maybe [LogType]) Source #

The available cluster control plane log types.