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 |
Documentation
An object representing the enabled or disabled Kubernetes control plane logs for your cluster.
See: newLogSetup
smart constructor.
LogSetup' | |
|
Instances
Eq LogSetup Source # | |
Read LogSetup Source # | |
Show LogSetup Source # | |
Generic LogSetup Source # | |
NFData LogSetup Source # | |
Defined in Amazonka.EKS.Types.LogSetup | |
Hashable LogSetup Source # | |
Defined in Amazonka.EKS.Types.LogSetup | |
ToJSON LogSetup Source # | |
Defined in Amazonka.EKS.Types.LogSetup | |
FromJSON LogSetup Source # | |
type Rep LogSetup Source # | |
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.