Class KubernetesVersion

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.eks.KubernetesVersion
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.645Z") @Stability(Stable) public class KubernetesVersion extends software.amazon.jsii.JsiiObject
Kubernetes cluster version.

Example:

 Cluster cluster = Cluster.Builder.create(this, "HelloEKS")
         .version(KubernetesVersion.V1_21)
         .defaultCapacityType(DefaultCapacityType.EC2)
         .build();
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final KubernetesVersion
    Deprecated.
    Use newer version of EKS
    static final KubernetesVersion
    Deprecated.
    Use newer version of EKS
    static final KubernetesVersion
    Deprecated.
    Use newer version of EKS
    static final KubernetesVersion
    Deprecated.
    Use newer version of EKS
    static final KubernetesVersion
    Kubernetes version 1.18.
    static final KubernetesVersion
    Kubernetes version 1.19.
    static final KubernetesVersion
    Kubernetes version 1.20.
    static final KubernetesVersion
    Kubernetes version 1.21.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    KubernetesVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    KubernetesVersion(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    cluster version number.
    of(String version)
    Custom cluster version.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • V1_14

      @Stability(Deprecated) @Deprecated public static final KubernetesVersion V1_14
      Deprecated.
      Use newer version of EKS
      (deprecated) Kubernetes version 1.14.

    • V1_15

      @Stability(Deprecated) @Deprecated public static final KubernetesVersion V1_15
      Deprecated.
      Use newer version of EKS
      (deprecated) Kubernetes version 1.15.

    • V1_16

      @Stability(Deprecated) @Deprecated public static final KubernetesVersion V1_16
      Deprecated.
      Use newer version of EKS
      (deprecated) Kubernetes version 1.16.

    • V1_17

      @Stability(Deprecated) @Deprecated public static final KubernetesVersion V1_17
      Deprecated.
      Use newer version of EKS
      (deprecated) Kubernetes version 1.17.

    • V1_18

      @Stability(Stable) public static final KubernetesVersion V1_18
      Kubernetes version 1.18.
    • V1_19

      @Stability(Stable) public static final KubernetesVersion V1_19
      Kubernetes version 1.19.
    • V1_20

      @Stability(Stable) public static final KubernetesVersion V1_20
      Kubernetes version 1.20.
    • V1_21

      @Stability(Stable) public static final KubernetesVersion V1_21
      Kubernetes version 1.21.
  • Constructor Details

    • KubernetesVersion

      protected KubernetesVersion(software.amazon.jsii.JsiiObjectRef objRef)
    • KubernetesVersion

      protected KubernetesVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • of

      @Stability(Stable) @NotNull public static KubernetesVersion of(@NotNull String version)
      Custom cluster version.

      Parameters:
      version - custom version number. This parameter is required.
    • getVersion

      @Stability(Stable) @NotNull public String getVersion()
      cluster version number.