VpcAssociationAuthorization
Source:
src/AWS/Route53/VpcAssociationAuthorization.ts
Authorization for a VPC (usually in another AWS account) to be associated with a private hosted zone.
Cross-account private-zone association is a two-step handshake: the
zone-owning account creates a VpcAssociationAuthorization for the foreign
VPC, then the VPC-owning account submits the association (see
ZoneVpcAssociation). Same-account associations don’t need an
authorization.
Authorizing Cross-Account Association
Section titled “Authorizing Cross-Account Association”const authorization = yield* VpcAssociationAuthorization("PeerVpcAuth", { hostedZoneId: zone.id, vpcId: "vpc-0123456789abcdef0", // VPC in the other account vpcRegion: "us-west-2",});