-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(route53): Convenience API for creating zone delegations (#1853)
When creating delegation relationship between two `PublicHostedZone`s, one can now use `zone.addDelegation(otherZone)` instead of manually creating the `ZoneDelegationRecord` insteance. This reduces the risk of passing the incorrect name server, or hosting the record on the wrong end of the relationship (DNS is hard!) Additionally, fixes a bug in which it was not possible to create a zone delegation record using a `IHostedZone.hostedZoneNameServers` property as the array was mapped, which caused the `Fn::GetAtt` stringified list token to become corrupted. Fixes #1847
- Loading branch information
1 parent
58025c0
commit f974531
Showing
5 changed files
with
94 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters