Skip to content

Conversation

tnb-git
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
3 participants