Skip to content
forked from aws/aws-cdk

Commit

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

### Issue # (if applicable)

Closes aws#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
2 people authored and ahammond committed Mar 26, 2024
1 parent 8e96e96 commit 2a6d8ad
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.

Loading

0 comments on commit 2a6d8ad

Please sign in to comment.