class AlbControllerVersion
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EKS.AlbControllerVersion |
Java | software.amazon.awscdk.services.eks.AlbControllerVersion |
Python | aws_cdk.aws_eks.AlbControllerVersion |
TypeScript (source) | @aws-cdk/aws-eks » AlbControllerVersion |
Controller version.
Corresponds to the image tag of 'amazon/aws-load-balancer-controller' image.
Example
new eks.Cluster(this, 'HelloEKS', {
version: eks.KubernetesVersion.V1_21,
albController: {
version: eks.AlbControllerVersion.V2_4_1,
},
});
Properties
Name | Type | Description |
---|---|---|
custom | boolean | Whether or not its a custom version. |
version | string | The version string. |
static V2_0_0 | Alb | v2.0.0. |
static V2_0_1 | Alb | v2.0.1. |
static V2_1_0 | Alb | v2.1.0. |
static V2_1_1 | Alb | v2.1.1. |
static V2_1_2 | Alb | v2.1.2. |
static V2_1_3 | Alb | v2.1.3. |
static V2_2_0 | Alb | v2.0.0. |
static V2_2_1 | Alb | v2.2.1. |
static V2_2_2 | Alb | v2.2.2. |
static V2_2_3 | Alb | v2.2.3. |
static V2_2_4 | Alb | v2.2.4. |
static V2_3_0 | Alb | v2.3.0. |
static V2_3_1 | Alb | v2.3.1. |
static V2_4_1 | Alb | v2.4.1. |
custom
Type:
boolean
Whether or not its a custom version.
version
Type:
string
The version string.
static V2_0_0
Type:
Alb
v2.0.0.
static V2_0_1
Type:
Alb
v2.0.1.
static V2_1_0
Type:
Alb
v2.1.0.
static V2_1_1
Type:
Alb
v2.1.1.
static V2_1_2
Type:
Alb
v2.1.2.
static V2_1_3
Type:
Alb
v2.1.3.
static V2_2_0
Type:
Alb
v2.0.0.
static V2_2_1
Type:
Alb
v2.2.1.
static V2_2_2
Type:
Alb
v2.2.2.
static V2_2_3
Type:
Alb
v2.2.3.
static V2_2_4
Type:
Alb
v2.2.4.
static V2_3_0
Type:
Alb
v2.3.0.
static V2_3_1
Type:
Alb
v2.3.1.
static V2_4_1
Type:
Alb
v2.4.1.
Methods
Name | Description |
---|---|
static of(version) | Specify a custom version. |
static of(version)
public static of(version: string): AlbControllerVersion
Parameters
- version
string
— The version number.
Returns
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.