Class AlbControllerProps
Properties for AlbController
.
Inheritance
Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AlbControllerProps : Object, IAlbControllerProps, IAlbControllerOptions
Syntax (vb)
Public Class AlbControllerProps
Inherits Object
Implements IAlbControllerProps, IAlbControllerOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EKS;
AlbControllerVersion albControllerVersion;
Cluster cluster;
var policy;
var albControllerProps = new AlbControllerProps {
Cluster = cluster,
Version = albControllerVersion,
// the properties below are optional
Policy = policy,
Repository = "repository"
};
Synopsis
Constructors
AlbControllerProps() |
Properties
Cluster | [disable-awslint:ref-via-interface] Cluster to install the controller onto. |
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
AlbControllerProps()
public AlbControllerProps()
Properties
Cluster
[disable-awslint:ref-via-interface] Cluster to install the controller onto.
public Cluster Cluster { get; set; }
Property Value
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