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(
  DryRun = NULL,
  PeerOwnerId = NULL,
  PeerVpcId = NULL,
  VpcId,
  PeerRegion = NULL,
  TagSpecifications = NULL
)

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.

PeerOwnerId

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

Default: Your Amazon Web Services account ID

PeerVpcId

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

VpcId

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

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.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.