addEc2Instance to add endpoints into the endpoint group.
|client||Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint.|
|weight?||The weight associated with the endpoint.|
(optional, default: true)
Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint.
(optional, default: not specified)
The weight associated with the endpoint.
When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify. For example, you might specify endpoint weights of 4, 5, 5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is routed to the first endpoint, 5/20 is routed both to the second and third endpoints, and 6/20 is routed to the last endpoint.