class WhiteListPolicy
Exposed for backward-compatibility only, it’s recommended that you use AllowListPolicy instead.
Augments
AllowListPolicy
Constructor
Creates a new instance of the policy.
Exposed for backward-compatibility only, it’s recommended that you use AllowListPolicy instead.
AllowListPolicyCreates a new instance of the policy.
| Name | Type | Description |
|---|---|---|
| childPolicy | LoadBalancingPolicy |
the wrapped policy. |
| allowList |
Array<string>
|
The hosts address in the format ipAddress:port. Only hosts from this list may get connected to (whether they will get connected to or not depends on the child policy). |