Skip to content

Commit 7cc5f30

Browse files
feat(elasticloadbalancingv2): ip address type for both network and application target group (#32189)
### Issue # (if applicable) None ### Reason for this change Both Application and Network target group supports for specifying IP address type. Application: <https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-ip-address-type> Network: <https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#target-group-ip-address-type> ### Description of changes - Define `TargetGroupIpAddressType` enum - Because there has been a `IpAddressType` in `aws-elassticloadbalancingv2` module, I don't name `IpAddressType` - Add `ipAddressType` prop to `BaseTargetGroupProps` ### 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 2eebc59 commit 7cc5f30

26 files changed

+6593
-5
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-elasticloadbalancingv2/test/integ.alb-target-group-ip-address-type.js.snapshot/AlbTargetGroupIpAddressTypeTestIntegDefaultTestDeployAssert7B27CD73.assets.json

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-elasticloadbalancingv2/test/integ.alb-target-group-ip-address-type.js.snapshot/AlbTargetGroupIpAddressTypeTestIntegDefaultTestDeployAssert7B27CD73.template.json

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-elasticloadbalancingv2/test/integ.alb-target-group-ip-address-type.js.snapshot/AlbTargetGroupIpAddressTypeTestStack.assets.json

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)