-
Notifications
You must be signed in to change notification settings - Fork 4k
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
route53: HostedZone should have a hostedZoneArn
property
#4744
Comments
I think the entire |
That’s what I expected it to be when using it for the first time. |
hostedZoneArn
property
You should not have to construct the ARN yourself, the class should do this for you. |
I see that the title was changed, but what about the issue of getting the |
Having consistent behavior between creating the |
❓ General Issue
The Question
I'm trying to create a IAM group with a policy attached to change DNS records for a Route53 hosted zone.
This is my code:
It creates the group as well as the policy, whose JSON looks like this:
When opening the new Policy in AWS Console, I get this warning:
When changing the
Resource
entry like this (removing the/
beforehostedzone
):the policy is fixed.
So my question is: can I get
hostedzone/<SomeHostedZoneId>
using AWS CDK instead of/hostedzone/<SomeHostedZoneId>
so I don't have to remove the leading/
myself?Or even better: is there a function in the CDK which allows me to get the full ARN for this zone?
Environment
Other information
The text was updated successfully, but these errors were encountered: