Skip to content

Conversation

tnb-git
Copy link
Contributor

@tnb-git tnb-git commented Sep 23, 2025

Issue

Closes #23268 .

Reason for this change

PrivateHostedZone does not have fromPrivateHostedZoneAttributes function, Although PublicHostedZone has fromPublicHostedZoneAttributes.
this PR change allow us to reference the zoneName in CDK.

Description of changes

Added code for fromPrivateHostedZoneAttirbutes

Describe any new or updated permissions being added

No extra permissions needed

Description of how you validated changes

Added a unit test

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions github-actions bot added the beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK label Sep 23, 2025
@aws-cdk-automation aws-cdk-automation requested a review from a team September 23, 2025 00:46
@github-actions github-actions bot added effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 labels Sep 23, 2025
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@tnb-git tnb-git changed the title feat(route53):Add fromPrivateHostedZoneAttributes function to PrivateHostedZone feat(route53): Add fromPrivateHostedZoneAttributes function to PrivateHostedZone Sep 26, 2025
@tnb-git tnb-git changed the title feat(route53): Add fromPrivateHostedZoneAttributes function to PrivateHostedZone feat(route53): add fromPrivateHostedZoneAttributes function to PrivateHostedZone Sep 26, 2025
@aws-cdk-automation aws-cdk-automation dismissed their stale review September 26, 2025 01:47

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@tnb-git
Copy link
Contributor Author

tnb-git commented Sep 26, 2025

Hi aws-cdk maintainers,
This is my first PR to aws-cdk. The PR is now ready for review, and I would greatly appreciate any feedback or guidance from the maintainers.
Thank you very much!

@abidhasan-aws abidhasan-aws self-assigned this Sep 30, 2025
Copy link
Contributor

@abidhasan-aws abidhasan-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tnb-git,
Thanks for your contribution :)

Overall looks good to me, just left two minor nit comments.

* Represents a Route 53 public hosted zone
*/
export interface IPublicHostedZone extends IHostedZone {}
export interface IPublicHostedZone extends IHostedZone { }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a whitespace change. Could you please revert this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have addressed the whitespace change as requested.

* Represents a Route 53 private hosted zone
*/
export interface IPrivateHostedZone extends IHostedZone {}
export interface IPrivateHostedZone extends IHostedZone { }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a whitespace change. Could you please revert this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have addressed the whitespace change as requested.

@abidhasan-aws abidhasan-aws added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Sep 30, 2025
@mergify mergify bot dismissed abidhasan-aws’s stale review September 30, 2025 13:23

Pull request has been modified.

@tnb-git
Copy link
Contributor Author

tnb-git commented Sep 30, 2025

@abidhasan-aws Thank you for the review! I have addressed the comments, please take a look.

@abidhasan-aws abidhasan-aws removed their assignment Sep 30, 2025
abidhasan-aws
abidhasan-aws previously approved these changes Sep 30, 2025
Copy link
Contributor

@abidhasan-aws abidhasan-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks again for contributing.

Copy link
Contributor

mergify bot commented Sep 30, 2025

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).

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Sep 30, 2025
@mergify mergify bot dismissed abidhasan-aws’s stale review October 1, 2025 08:35

Pull request has been modified.

abidhasan-aws
abidhasan-aws previously approved these changes Oct 1, 2025
Copy link
Contributor

mergify bot commented Oct 1, 2025

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).

@aemada-aws
Copy link
Contributor

@Mergifyio requeue

Copy link
Contributor

mergify bot commented Oct 2, 2025

requeue

✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically

@mergify mergify bot added the queued label Oct 2, 2025
Copy link
Contributor

mergify bot commented Oct 2, 2025

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).

1 similar comment
Copy link
Contributor

mergify bot commented Oct 2, 2025

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).

Copy link
Contributor

mergify bot commented Oct 2, 2025

This pull request has been removed from the queue for the following reason: pull request manually updated.

The pull request #35552 has been manually updated.

If you want to requeue this pull request, you can post a @mergifyio requeue comment.

@mergify mergify bot dismissed abidhasan-aws’s stale review October 2, 2025 17:47

Pull request has been modified.

@mergify mergify bot removed the queued label Oct 2, 2025
Copy link
Contributor

mergify bot commented Oct 2, 2025

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).

@mergify mergify bot added the queued label Oct 2, 2025
Copy link
Contributor

mergify bot commented Oct 2, 2025

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).

Copy link
Contributor

mergify bot commented Oct 3, 2025

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).

@mergify mergify bot merged commit c8d7a79 into aws:main Oct 3, 2025
19 checks passed
@mergify mergify bot removed the queued label Oct 3, 2025
Copy link
Contributor

github-actions bot commented Oct 3, 2025

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(route53): PrivateHostedZone fromPrivateHostedZoneAttributes function with zoneName support
4 participants