-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathlistener.d.ts
43 lines (43 loc) · 1.17 KB
/
listener.d.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
import { Cluster } from './cluster';
import { Resource } from './resource';
import { Service } from './service';
export declare class Listener implements Resource {
service: Service;
cluster: Cluster;
priority: number;
constructor(service: Service, cluster: Cluster);
calculatePriority(): number;
readonly name: string;
readonly targetGroupName: string;
readonly healthcheckPath: string;
required(): number | "";
generate(): any;
generateForProtocol(protocol: string): {
'Type': string;
"DependsOn": string[];
'Properties': {
'Actions': {
'TargetGroupArn': {
'Ref': string;
};
'Type': string;
}[];
'Conditions': {
'Field': string;
'Values': string[];
}[];
'ListenerArn': {
'Ref': string;
};
'Priority': number;
};
};
readonly mapping: {
'ContainerName': string;
'ContainerPort': number;
'TargetGroupArn': {
'Ref': string;
};
}[];
}
export declare function reset(): void;