You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EKS::Types::LogSetup

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing LogSetup as input to an Aws::Client method, you can use a vanilla Hash:

{
  types: ["api"], # accepts api, audit, authenticator, controllerManager, scheduler
  enabled: false,
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

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.

Returns:

  • (Boolean)

    If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs.

#typesArray<String>

The available cluster control plane log types.

Returns:

  • (Array<String>)

    The available cluster control plane log types.