@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:29.981Z") @Stability(value=Experimental) public class KubernetesVersion extends software.amazon.jsii.JsiiObject
Example:
Cluster cluster = Cluster.Builder.create(this, "HelloEKS")
.version(KubernetesVersion.V1_21)
.defaultCapacityType(DefaultCapacityType.EC2)
.build();
| Modifier and Type | Field and Description |
|---|---|
static KubernetesVersion |
V1_14
Deprecated.
Use newer version of EKS
|
static KubernetesVersion |
V1_15
Deprecated.
Use newer version of EKS
|
static KubernetesVersion |
V1_16
Deprecated.
Use newer version of EKS
|
static KubernetesVersion |
V1_17
Deprecated.
Use newer version of EKS
|
static KubernetesVersion |
V1_18
(experimental) Kubernetes version 1.18.
|
static KubernetesVersion |
V1_19
(experimental) Kubernetes version 1.19.
|
static KubernetesVersion |
V1_20
(experimental) Kubernetes version 1.20.
|
static KubernetesVersion |
V1_21
(experimental) Kubernetes version 1.21.
|
| Modifier | Constructor and Description |
|---|---|
protected |
KubernetesVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
KubernetesVersion(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getVersion()
(experimental) cluster version number.
|
static KubernetesVersion |
of(String version)
(experimental) Custom cluster version.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Deprecated) @Deprecated public static final KubernetesVersion V1_14
@Stability(value=Deprecated) @Deprecated public static final KubernetesVersion V1_15
@Stability(value=Deprecated) @Deprecated public static final KubernetesVersion V1_16
@Stability(value=Deprecated) @Deprecated public static final KubernetesVersion V1_17
@Stability(value=Experimental) public static final KubernetesVersion V1_18
@Stability(value=Experimental) public static final KubernetesVersion V1_19
@Stability(value=Experimental) public static final KubernetesVersion V1_20
@Stability(value=Experimental) public static final KubernetesVersion V1_21
protected KubernetesVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected KubernetesVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static KubernetesVersion of(@NotNull String version)
version - custom version number. This parameter is required.@Stability(value=Experimental) @NotNull public String getVersion()
Copyright © 2022. All rights reserved.