/AWS1/CL_EC2=>ACCEPTVPCPEERINGCONNECTION()
¶
About AcceptVpcPeeringConnection¶
Accept a VPC peering connection request. To accept a request, the VPC peering connection must
be in the pending-acceptance
state, and you must be the owner of the peer VPC.
Use DescribeVpcPeeringConnections to view your outstanding VPC
peering connection requests.
For an inter-Region VPC peering connection request, you must accept the VPC peering connection in the Region of the accepter VPC.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_VPCPEERINGCONNECTIONID
TYPE /AWS1/EC2VPCPEERINGCXNIDWRES00
/AWS1/EC2VPCPEERINGCXNIDWRES00
¶
The ID of the VPC peering connection. You must specify this parameter in the request.
Optional arguments:¶
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.