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
Modifier and TypeFieldDescriptionstatic final KubernetesVersion
Deprecated.Use newer version of EKSstatic final KubernetesVersion
Deprecated.Use newer version of EKSstatic final KubernetesVersion
Deprecated.Use newer version of EKSstatic final KubernetesVersion
Deprecated.Use newer version of EKSstatic 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
ModifierConstructorDescriptionprotected
KubernetesVersion
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
KubernetesVersion
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptioncluster version number.static KubernetesVersion
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
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.14. -
V1_15
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.15. -
V1_16
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.16. -
V1_17
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.17. -
V1_18
Kubernetes version 1.18. -
V1_19
Kubernetes version 1.19. -
V1_20
Kubernetes version 1.20. -
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
Custom cluster version.- Parameters:
version
- custom version number. This parameter is required.
-
getVersion
cluster version number.
-