TargetGroupLoadBalancingAlgorithmType Enum
Load balancing algorithmm type for target groups.
Example
ts
declare const vpc: ec2.Vpc;
const tg = new elbv2.ApplicationTargetGroup(this, 'TargetGroup', {
vpc,
loadBalancingAlgorithmType: elbv2.TargetGroupLoadBalancingAlgorithmType.WEIGHTED_RANDOM,
enableAnomalyMitigation: true,
});
Members
| Member | Description |
|---|---|
ROUND_ROBIN | round_robin. |
LEAST_OUTSTANDING_REQUESTS | least_outstanding_requests. |
WEIGHTED_RANDOM | weighted_random. |
Referenced by
AddApplicationTargetsProps.loadBalancingAlgorithmTypeload_balancing_algorithm_typeloadBalancingAlgorithmTypeLoadBalancingAlgorithmTypeLoadBalancingAlgorithmTypeApplicationTargetGroupProps.loadBalancingAlgorithmTypeload_balancing_algorithm_typeloadBalancingAlgorithmTypeLoadBalancingAlgorithmTypeLoadBalancingAlgorithmType