Skip to content

Commit 7b5f5a5

Browse files
authored
chore(route53): raise awareness of sharp edges on CrossAccountZoneDelegationRecord (#33247)
### Issue # (if applicable) N/A. ### Reason for this change See internal tracking: P193236083 ### Description of changes Doc change only. ### Describe any new or updated permissions being added None ### Description of how you validated changes N/A ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent a06f91a commit 7b5f5a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/aws-cdk-lib/aws-route53/lib/record-set.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,11 @@ export interface CrossAccountZoneDelegationRecordProps {
966966
}
967967

968968
/**
969-
* A Cross Account Zone Delegation record
969+
* A Cross Account Zone Delegation record. This construct uses custom resource lambda that calls Route53
970+
* ChangeResourceRecordSets API to upsert a NS record into the `parentHostedZone`.
971+
*
972+
* WARNING: The default removal policy of this resource is DESTROY, therefore, if this resource's logical ID changes or
973+
* if this resource is removed from the stack, the existing NS record will be removed.
970974
*/
971975
export class CrossAccountZoneDelegationRecord extends Construct {
972976
constructor(scope: Construct, id: string, props: CrossAccountZoneDelegationRecordProps) {

0 commit comments

Comments
 (0)