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.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.480Z") @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_21)
         .albController(AlbControllerOptions.builder()
                 .version(AlbControllerVersion.V2_4_1)
                 .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)
      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 - The version number. This parameter is required.
    • getCustom

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

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