Reject a VPC peering connection
You can reject any VPC peering connection request that you've received that's
in the pending-acceptance
state. You should only accept VPC peering
connections from AWS accounts that you know and trust; you can reject any unwanted
requests. For more information about the Rejected
peering connection status,
see VPC peering connection lifecycle.
To reject a VPC peering connection
Open the Amazon VPC console at https://console.aws.amazon.com/vpc/
. -
In the navigation pane, choose Peering connections.
-
Select the VPC peering connection, and choose Actions, Reject request.
-
When prompted for confirmation, choose Reject request.
To reject a VPC peering connection using the command line or an API
reject-vpc-peering-connection (AWS CLI)
Deny-EC2VpcPeeringConnection (AWS Tools for Windows PowerShell)
-
RejectVpcPeeringConnection (Amazon EC2 Query API)