AlbControllerVersion

class aws_cdk.aws_eks.AlbControllerVersion(*args: Any, **kwargs)

Bases: object

Controller version.

Corresponds to the image tag of ‘amazon/aws-load-balancer-controller’ image.

ExampleMetadata

infused

Example:

eks.Cluster(self, "HelloEKS",
    version=eks.KubernetesVersion.V1_21,
    alb_controller=eks.AlbControllerOptions(
        version=eks.AlbControllerVersion.V2_4_1
    )
)

Attributes

V2_0_0 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_0_1 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_1_0 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_1_1 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_1_2 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_1_3 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_2_0 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_2_1 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_2_2 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_2_3 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_2_4 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_3_0 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_3_1 = <aws_cdk.aws_eks.AlbControllerVersion object>
V2_4_1 = <aws_cdk.aws_eks.AlbControllerVersion object>
custom

Whether or not its a custom version.

version

The version string.

Static Methods

classmethod of(version)

Specify a custom version.

Use this if the version you need is not available in one of the predefined versions. Note that in this case, you will also need to provide an IAM policy in the controller options.

Parameters

version (str) – The version number.

Return type

AlbControllerVersion