@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.955Z") @Stability(value=Stable) 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
Kubernetes version 1.18.
|
static KubernetesVersion |
V1_19
Kubernetes version 1.19.
|
static KubernetesVersion |
V1_20
Kubernetes version 1.20.
|
static KubernetesVersion |
V1_21
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()
cluster version number.
|
static KubernetesVersion |
of(String version)
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=Stable) public static final KubernetesVersion V1_18
@Stability(value=Stable) public static final KubernetesVersion V1_19
@Stability(value=Stable) public static final KubernetesVersion V1_20
@Stability(value=Stable) public static final KubernetesVersion V1_21
protected KubernetesVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected KubernetesVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) @NotNull public static KubernetesVersion of(@NotNull String version)
version - custom version number. This parameter is required.@Stability(value=Stable) @NotNull public String getVersion()
Copyright © 2022. All rights reserved.