ec2_create_vpn_connection: Creates a VPN connection between an existing virtual private...

View source: R/ec2_operations.R

ec2_create_vpn_connectionR Documentation

Creates a VPN connection between an existing virtual private gateway or transit gateway and a customer gateway

Description

Creates a VPN connection between an existing virtual private gateway or transit gateway and a customer gateway. The supported connection type is ipsec.1.

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

Usage

ec2_create_vpn_connection(
  CustomerGatewayId,
  Type,
  VpnGatewayId = NULL,
  TransitGatewayId = NULL,
  DryRun = NULL,
  Options = NULL,
  TagSpecifications = NULL
)

Arguments

CustomerGatewayId

[required] The ID of the customer gateway.

Type

[required] The type of VPN connection (ipsec.1).

VpnGatewayId

The ID of the virtual private gateway. If you specify a virtual private gateway, you cannot specify a transit gateway.

TransitGatewayId

The ID of the transit gateway. If you specify a transit gateway, you cannot specify a virtual private gateway.

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.

Options

The options for the VPN connection.

TagSpecifications

The tags to apply to the VPN connection.


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