aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.59k stars 3.89k forks source link

(route53): PublicHostedZone fromPublicHostedZoneAttributes function with zoneName support #18700

Closed peterwoodworth closed 2 years ago

peterwoodworth commented 2 years ago

Description

Support a method called fromPublicHostedZoneAttributes() on PublicHostedZone where you can pass in the zoneName as an attribute

Use Case

VpcEndpointServiceDomainName accepts an IPublicHostedZone, however this will result in an error if you import with the current import method supported by PublicHostedZone.

Proposed Solution

This method would be similar to HostedZone.fromHostedZoneAttributes()

Other information

No response

Acknowledge

github-actions[bot] commented 2 years ago

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.