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