/
load-balancer.ts
69 lines (59 loc) · 1.18 KB
/
load-balancer.ts
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/**
* Load balancer ip address type.
*/
export enum LoadBalancerIpAddressType {
/**
* IPV4 ip address
*/
IPV4 = 'ipv4',
/**
* Dual stack address
*/
DUAL_STACK = 'dualstack',
}
/**
* Properties of a discovered load balancer
*/
export interface LoadBalancerContextResponse {
/**
* The ARN of the load balancer.
*/
readonly loadBalancerArn: string;
/**
* The hosted zone ID of the load balancer's name.
*/
readonly loadBalancerCanonicalHostedZoneId: string;
/**
* Load balancer's DNS name
*/
readonly loadBalancerDnsName: string;
/**
* Type of IP address
*/
readonly ipAddressType: LoadBalancerIpAddressType;
/**
* Load balancer's security groups
*/
readonly securityGroupIds: string[];
/**
* Load balancer's VPC
*/
readonly vpcId: string;
}
/**
* Properties of a discovered load balancer listener.
*/
export interface LoadBalancerListenerContextResponse {
/**
* The ARN of the listener.
*/
readonly listenerArn: string;
/**
* The port the listener is listening on.
*/
readonly listenerPort: number;
/**
* The security groups of the load balancer.
*/
readonly securityGroupIds: string[];
}