-
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(route53): added EvaluateTargetHealth to Route53 Alias targets (#9481) #30664
base: main
Are you sure you want to change the base?
feat(route53): added EvaluateTargetHealth to Route53 Alias targets (#9481) #30664
Conversation
hey guys, this is my first contribution to this repo, I would be grateful for any feedback 🤝 |
default configuration of Alias target health check
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.
The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.
A comment requesting an exemption should contain the text Exemption Request
. Additionally, if clarification is needed add Clarification Request
to a comment.
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
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.
Thank you for your contribution!
Could you also create integ tests for targets other than ALB and Global Accelerator?
packages/aws-cdk-lib/aws-route53-targets/lib/bucket-website-target.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-route53-targets/lib/classic-load-balancer-target.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-route53-targets/lib/elastic-beanstalk-environment-target.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-route53-targets/lib/global-accelerator-target.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-route53-targets/lib/load-balancer-target.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-route53-targets/lib/elastic-beanstalk-environment-target.ts
Outdated
Show resolved
Hide resolved
…rget.ts Co-authored-by: Kazuho Cryer-Shinozuka <[email protected]>
…ncer-target.ts Co-authored-by: Kazuho Cryer-Shinozuka <[email protected]>
…-environment-target.ts Co-authored-by: Kazuho Cryer-Shinozuka <[email protected]>
…r-target.ts Co-authored-by: Kazuho Cryer-Shinozuka <[email protected]>
…get.ts Co-authored-by: Kazuho Cryer-Shinozuka <[email protected]>
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Pull request has been modified.
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #30664 +/- ##
=======================================
Coverage 78.67% 78.67%
=======================================
Files 107 107
Lines 7237 7237
Branches 1329 1329
=======================================
Hits 5694 5694
Misses 1357 1357
Partials 186 186
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@mergify update |
✅ Branch has been successfully updated |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
@wladyslawczyzewski can you fix the merge conflicts? I've approved the PR and will prioritize on merging this once you fixed the conflicts. Thank you! |
This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state. |
1 similar comment
This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state. |
…o route53_evaluate_alias_health
### Issue # (if applicable) Part of #9481 Another PR for this ticket #30664 ### Reason for this change Added L2 construct for `AWS::Route53::HealthCheck` resource ### Description of changes The changes only introduces the L2 construct for Route53 health check resources. Except the L2 construct itself, I added basic validations for the input props. ### Description of how you validated changes - unit tests - integration 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*
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state. |
Pull request has been modified.
@wladyslawczyzewski |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Issue # (if applicable)
Part of a bigger piece of work for #9481
Another PR for this ticket #30739
Reason for this change
At this moment constructing the Route53 health checks is available only via L1 construct, this PR is one of the series to introduce the R53 health checks via higher-level constructs.
Description of changes
The underlying L1 construct of a few L2 constructs for Alias targets already has the
EvaluateTargetHealth
property, so by adding this prop to the L2 construct we get the quick win to introduce the health checks for Alias records.Description of how you validated changes
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license