paws.compute (version 0.1.0)

ec2_accept_vpc_peering_connection: Accept a VPC peering connection request

Description

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.

Usage

ec2_accept_vpc_peering_connection(DryRun, VpcPeeringConnectionId)

Arguments

DryRun

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 is UnauthorizedOperation.

VpcPeeringConnectionId

The ID of the VPC peering connection. You must specify this parameter in the request.

Request syntax

svc$accept_vpc_peering_connection(
  DryRun = TRUE|FALSE,
  VpcPeeringConnectionId = "string"
)

Details

For an inter-region VPC peering connection request, you must accept the VPC peering connection in the region of the accepter VPC.