Class AlbControllerVersion

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.eks.AlbControllerVersion
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.92.0 (build db7f27d)", date="2023-12-06T04:49:38.321Z") @Stability(Stable) public class AlbControllerVersion extends software.amazon.jsii.JsiiObject
Controller version.

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

Example:

 Cluster.Builder.create(this, "HelloEKS")
         .version(KubernetesVersion.V1_28)
         .albController(AlbControllerOptions.builder()
                 .version(AlbControllerVersion.V2_6_2)
                 .build())
         .build();
 
  • Field Details

  • Constructor Details

    • AlbControllerVersion

      protected AlbControllerVersion(software.amazon.jsii.JsiiObjectRef objRef)
    • AlbControllerVersion

      protected AlbControllerVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • of

      @Stability(Stable) @NotNull public static AlbControllerVersion of(@NotNull String version, @Nullable String helmChartVersion)
      Specify a custom version and an associated helm chart 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.

      ALB controller version and helm chart version compatibility information can be found here: https://github.com/aws/eks-charts/blob/v0.0.133/stable/aws-load-balancer-controller/Chart.yaml

      Parameters:
      version - The version number. This parameter is required.
      helmChartVersion - The version of the helm chart.
    • of

      @Stability(Stable) @NotNull public static AlbControllerVersion of(@NotNull String version)
      Specify a custom version and an associated helm chart 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.

      ALB controller version and helm chart version compatibility information can be found here: https://github.com/aws/eks-charts/blob/v0.0.133/stable/aws-load-balancer-controller/Chart.yaml

      Parameters:
      version - The version number. This parameter is required.
    • getCustom

      @Stability(Stable) @NotNull public Boolean getCustom()
      Whether or not its a custom version.
    • getHelmChartVersion

      @Stability(Stable) @NotNull public String getHelmChartVersion()
      The version of the helm chart to use.
    • getVersion

      @Stability(Stable) @NotNull public String getVersion()
      The version string.