Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_R53=>CREATEVPCASSOCIATIONAUTH()

About CreateVPCAssociationAuthorization

Authorizes the Amazon Web Services account that created a specified VPC to submit an AssociateVPCWithHostedZone request to associate the VPC with a specified hosted zone that was created by a different account. To submit a CreateVPCAssociationAuthorization request, you must use the account that created the hosted zone. After you authorize the association, use the account that created the VPC to submit an AssociateVPCWithHostedZone request.

If you want to associate multiple VPCs that you created by using one account with a hosted zone that you created by using a different account, you must submit one authorization request for each VPC.

Method Signature

IMPORTING

Required arguments:

IV_HOSTEDZONEID TYPE /AWS1/R53RESOURCEID /AWS1/R53RESOURCEID

The ID of the private hosted zone that you want to authorize associating a VPC with.

IO_VPC TYPE REF TO /AWS1/CL_R53VPC /AWS1/CL_R53VPC

A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_R53CREVPCASSOCIATIO01 /AWS1/CL_R53CREVPCASSOCIATIO01

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC