TargetGroupLoadBalancingAlgorithmType
- class aws_cdk.aws_elasticloadbalancingv2.TargetGroupLoadBalancingAlgorithmType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
Load balancing algorithmm type for target groups.
- ExampleMetadata:
infused
Example:
# vpc: ec2.Vpc tg = elbv2.ApplicationTargetGroup(self, "TargetGroup", vpc=vpc, load_balancing_algorithm_type=elbv2.TargetGroupLoadBalancingAlgorithmType.WEIGHTED_RANDOM, enable_anomaly_mitigation=True )
Attributes
- LEAST_OUTSTANDING_REQUESTS
least_outstanding_requests.
- ROUND_ROBIN
round_robin.
- WEIGHTED_RANDOM
weighted_random.