Class AlbControllerOptions
Options for AlbController
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.AWS.EKS.dll
Syntax (csharp)
public class AlbControllerOptions : Object, IAlbControllerOptions
Syntax (vb)
Public Class AlbControllerOptions
Inherits Object
Implements IAlbControllerOptions
Remarks
ExampleMetadata: infused
Examples
new Cluster(this, "HelloEKS", new ClusterProps {
Version = KubernetesVersion.V1_21,
AlbController = new AlbControllerOptions {
Version = AlbControllerVersion.V2_4_1
}
});
Synopsis
Constructors
AlbControllerOptions() |
Properties
Policy | The IAM policy to apply to the service account. |
Repository | The repository to pull the controller image from. |
Version | Version of the controller. |
Constructors
AlbControllerOptions()
public AlbControllerOptions()
Properties
Policy
The IAM policy to apply to the service account.
public object Policy { get; set; }
Property Value
System.Object
Remarks
If you're using one of the built-in versions, this is not required since CDK ships with the appropriate policies for those versions.
However, if you are using a custom version, this is required (and validated).
Default: - Corresponds to the predefined version.
Repository
The repository to pull the controller image from.
public string Repository { get; set; }
Property Value
System.String
Remarks
Note that the default repository works for most regions, but not all. If the repository is not applicable to your region, use a custom repository according to the information here: https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases.
Default: '602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-load-balancer-controller'
Version
Version of the controller.
public AlbControllerVersion Version { get; set; }
Property Value