Reject Vpc Peering Connection
ec2_reject_vpc_peering_connection | R Documentation |
Rejects a VPC peering connection request¶
Description¶
Rejects a VPC peering connection request. The VPC peering connection
must be in the pending-acceptance
state. Use the
describe_vpc_peering_connections
request to view your outstanding VPC
peering connection requests. To delete an active VPC peering connection,
or to delete a VPC peering connection request that you initiated, use
delete_vpc_peering_connection
.
Usage¶
ec2_reject_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
|
VpcPeeringConnectionId |
[required] The ID of the VPC peering connection. |
Value¶
A list with the following syntax:
list(
Return = TRUE|FALSE
)
Request syntax¶
svc$reject_vpc_peering_connection(
DryRun = TRUE|FALSE,
VpcPeeringConnectionId = "string"
)