ec2_create_vpc_peering_connection: Requests a VPC peering connection between two VPCs: a...

View source: R/ec2_operations.R

ec2_create_vpc_peering_connectionR Documentation

Requests a VPC peering connection between two VPCs: a requester VPC that you own and an accepter VPC with which to create the connection

Description

Requests a VPC peering connection between two VPCs: a requester VPC that you own and an accepter VPC with which to create the connection. The accepter VPC can belong to another Amazon Web Services account and can be in a different Region to the requester VPC. The requester VPC and accepter VPC cannot have overlapping CIDR blocks.

See https://www.paws-r-sdk.com/docs/ec2_create_vpc_peering_connection/ for full documentation.

Usage

ec2_create_vpc_peering_connection(
  PeerRegion = NULL,
  TagSpecifications = NULL,
  DryRun = NULL,
  VpcId,
  PeerVpcId = NULL,
  PeerOwnerId = NULL
)

Arguments

PeerRegion

The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.

Default: The Region in which you make the request.

TagSpecifications

The tags to assign to the peering connection.

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.

VpcId

[required] The ID of the requester VPC. You must specify this parameter in the request.

PeerVpcId

The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.

PeerOwnerId

The Amazon Web Services account ID of the owner of the accepter VPC.

Default: Your Amazon Web Services account ID


paws.compute documentation built on April 4, 2025, 5:47 a.m.