Skip to content

Commit

Permalink
feat(elasticloadbalancingv2): denyAllIgwTraffic and `clientRoutingP…
Browse files Browse the repository at this point in the history
…olicy` for NLB (#29521)

### Issue # (if applicable)

Closes #29520.

### Reason for this change

NLB supports `ipv6.deny_all_igw_traffic` and
`dns_record.client_routing_policy` but these are not configurable from
AWS CDK.

### Description of changes

- add `zonalAffinity` props to `NetworkLoadBalancerProps`
- add `denyAllIgwTraffic` props to `BaseLoadBalancerProps`
  - `ipv6.deny_all_igw_traffic` is also supported by ALB

### Description of how you validated changes

I've added both unit 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*

---------

Co-authored-by: GZ <yuanhaoz@amazon.com>
  • Loading branch information
badmintoncryer and GavinZZ committed Mar 19, 2024
1 parent 4ff3565 commit 7fe8ad3
Show file tree
Hide file tree
Showing 14 changed files with 1,716 additions and 8 deletions.

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

0 comments on commit 7fe8ad3

Please sign in to comment.