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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-eks/types.rb

Overview

Note:

When making an API call, you may pass LogSetup data as a 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.

Constant Summary collapse

SENSITIVE =
[]

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)

2584
2585
2586
2587
2588
2589
# File 'lib/aws-sdk-eks/types.rb', line 2584

class LogSetup < Struct.new(
  :types,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#typesArray<String>

The available cluster control plane log types.

Returns:

  • (Array<String>)

2584
2585
2586
2587
2588
2589
# File 'lib/aws-sdk-eks/types.rb', line 2584

class LogSetup < Struct.new(
  :types,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end