-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(elasticloadbalancingv2): ip address type for both network and application target group #32189
base: main
Are you sure you want to change the base?
Conversation
@@ -84,7 +106,7 @@ export interface HealthCheck { | |||
* The approximate number of seconds between health checks for an individual target. | |||
* Must be 5 to 300 seconds | |||
* | |||
* @default 10 seconds if protocol is `GENEVE`, 35 seconds if target type is `lambda`, else 30 seconds | |||
* @default - 10 seconds if protocol is `GENEVE`, 35 seconds if target type is `lambda`, else 30 seconds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have corrected the usage of hyphens in some @default descriptions. If it is preferable, I can separate this into a different PR.
/** | ||
* The type of IP addresses of the targets registered with the target group. | ||
* | ||
* @default undefined - ELB defaults to IPv4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think @default IPv4
is sufficient, but I have written it this way because several maintainers have recently recommended this approach.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #32189 +/- ##
=======================================
Coverage 77.18% 77.18%
=======================================
Files 105 105
Lines 7161 7161
Branches 1312 1312
=======================================
Hits 5527 5527
Misses 1454 1454
Partials 180 180
Flags with carried forward coverage won't be shown. Click here to find out more.
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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
TargetGroupIpAddressType
enumIpAddressType
inaws-elassticloadbalancingv2
module, I don't nameIpAddressType
ipAddressType
prop toBaseTargetGroupProps
Description of how you validated changes
Add both unit and integ tests.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license