Skip to content

Commit c6905c6

Browse files
feat(elasticloadbalancingv2): subnet mappings for network load balancer (#33736)
### Issue # (if applicable) Closes #9696. ### Reason for this change Cloudformation supports the configuration of subnet information through `subnetMapping` more detailed than using `subnetIds` but AWS CDK doesn't support this. https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-subnetmapping.html ### Description of changes - Add `subnetMappings` to `NetworkLoadBalancerProps` - Define `SourceNatIpv6Prefix` class and `SubnetMapping` interface at `base-loadbalancer.ts` ### Describe any new or updated permissions being added None ### Description of how you validated changes Add 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*
1 parent eb97d2d commit c6905c6

File tree

15 files changed

+4360
-11
lines changed

15 files changed

+4360
-11
lines changed

Diff for: packages/@aws-cdk-testing/framework-integ/test/aws-elasticloadbalancingv2/test/integ.nlb-subnet-mapping.js.snapshot/NlbSubnetMappingStack.assets.json

+32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)