KubernetesVersion
- class aws_cdk.aws_eks.KubernetesVersion(*args: Any, **kwargs)
Bases:
object
Kubernetes cluster version.
- See:
- ExampleMetadata:
infused
Example:
# or # vpc: ec2.Vpc eks.Cluster(self, "MyCluster", kubectl_memory=Size.gibibytes(4), version=eks.KubernetesVersion.V1_31 ) eks.Cluster.from_cluster_attributes(self, "MyCluster", kubectl_memory=Size.gibibytes(4), vpc=vpc, cluster_name="cluster-name" )
Attributes
- V1_14 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_15 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_16 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_17 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_18 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_19 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_20 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_21 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_22 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_23 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_24 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_25 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_26 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_27 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_28 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_29 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_30 = <aws_cdk.aws_eks.KubernetesVersion object>
- V1_31 = <aws_cdk.aws_eks.KubernetesVersion object>
- version
cluster version number.
Static Methods
- classmethod of(version)
Custom cluster version.
- Parameters:
version (
str
) – custom version number.- Return type: