/
AlbControllerProps.go
48 lines (45 loc) · 1.67 KB
/
AlbControllerProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package awseks
// Properties for `AlbController`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// var albControllerVersion albControllerVersion
// var cluster cluster
// var policy interface{}
//
// albControllerProps := &AlbControllerProps{
// Cluster: cluster,
// Version: albControllerVersion,
//
// // the properties below are optional
// Policy: policy,
// Repository: jsii.String("repository"),
// }
//
// Experimental.
type AlbControllerProps struct {
// Version of the controller.
// Experimental.
Version AlbControllerVersion `field:"required" json:"version" yaml:"version"`
// The IAM policy to apply to the service account.
//
// 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).
// Experimental.
Policy interface{} `field:"optional" json:"policy" yaml:"policy"`
// The repository to pull the controller image from.
//
// 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.
// Experimental.
Repository *string `field:"optional" json:"repository" yaml:"repository"`
// [disable-awslint:ref-via-interface] Cluster to install the controller onto.
// Experimental.
Cluster Cluster `field:"required" json:"cluster" yaml:"cluster"`
}