Skip to content

Commit

Permalink
feat(elasticloadbalancingv2): support Weighted Random algorithm and A…
Browse files Browse the repository at this point in the history
…utomatic Target Weights for alb (#30542)

### Issue # (if applicable)

Closes #29969 

### Reason for this change
Application Load Balancer supports Weight Random routing Algorithm and Automatic Target Weights. ([link](https://aws.amazon.com/about-aws/whats-new/2023/11/application-load-balancer-availability-target-weights/))

But current L2 construct does not support it.


### Description of changes
* Add `weighted_random` algorithm to ENUM.
* Add a flag for setting Automatic Target Weights anomaly mitigation.



### Description of how you validated changes
Add unit tests and integ tests.



### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
mazyu36 authored Jul 30, 2024
1 parent 31808b4 commit d0a609d
Show file tree
Hide file tree
Showing 17 changed files with 2,719 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d0a609d

Please # to comment.