-
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
feat(route53): support CNAME records #1487
Conversation
Adds support for CNAME records via the `CnameRecord` construct. Misc: - TXTRecord is deprecated in favor of TxtRecord. - hostedZoneNameServers attribute added to IHostedZone - Made HostedZone concrete (non-abstract) so it will be compatible with how CloudFormation represents this resource, but left PublicHostedZone and PrivateHostedZone to allow a more strongly-typed experience if you like. credits for original PR (closes #1420): @MikeBild
Very well! 👍 |
|
||
export interface CnameRecordProps { | ||
zone: IHostedZone; | ||
recordName: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docstrings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done. thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏🏻
Thanks so much for taking the time to contribute to the AWS CDK ❤️ We will shortly assign someone to review this pull request and help get it
|
Adds support for CNAME records via the
CnameRecord
construct.Misc:
TXTRecord
was renamed toTxtRecord
.hostedZoneNameServers
attribute added to IHostedZoneHostedZone
a concrete (non-abstract) class so it will becompatible with how CloudFormation represents this resource,
but left PublicHostedZone and PrivateHostedZone to allow
a more strongly-typed experience if you like.
Credits for original PR (closes #1420): @MikeBild
BREAKING CHANGE: The
route53.TXTRecord
class was renamed toroute53.TxtRecord
.Pull Request Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.