Enum ClusterLoggingTypes

java.lang.Object
java.lang.Enum<ClusterLoggingTypes>
software.amazon.awscdk.services.eks.ClusterLoggingTypes
All Implemented Interfaces:
Serializable, Comparable<ClusterLoggingTypes>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:16.780Z") @Stability(Stable) public enum ClusterLoggingTypes extends Enum<ClusterLoggingTypes>
EKS cluster logging types.

Example:

 Cluster cluster = Cluster.Builder.create(this, "Cluster")
         // ...
         .version(KubernetesVersion.V1_29)
         .clusterLogging(List.of(ClusterLoggingTypes.API, ClusterLoggingTypes.AUTHENTICATOR, ClusterLoggingTypes.SCHEDULER))
         .build();
 
  • Enum Constant Details

    • API

      @Stability(Stable) public static final ClusterLoggingTypes API
      Logs pertaining to API requests to the cluster.
    • AUDIT

      @Stability(Stable) public static final ClusterLoggingTypes AUDIT
      Logs pertaining to cluster access via the Kubernetes API.
    • AUTHENTICATOR

      @Stability(Stable) public static final ClusterLoggingTypes AUTHENTICATOR
      Logs pertaining to authentication requests into the cluster.
    • CONTROLLER_MANAGER

      @Stability(Stable) public static final ClusterLoggingTypes CONTROLLER_MANAGER
      Logs pertaining to state of cluster controllers.
    • SCHEDULER

      @Stability(Stable) public static final ClusterLoggingTypes SCHEDULER
      Logs pertaining to scheduling decisions.
  • Method Details

    • values

      public static ClusterLoggingTypes[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ClusterLoggingTypes valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null