Learn R Programming

paws.compute (version 0.7.0)

ec2_attach_vpn_gateway: Attaches a virtual private gateway to a VPC

Description

Attaches a virtual private gateway to a VPC. You can attach one virtual private gateway to one VPC at a time.

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

Usage

ec2_attach_vpn_gateway(VpcId, VpnGatewayId, DryRun = NULL)

Arguments

VpcId

[required] The ID of the VPC.

VpnGatewayId

[required] The ID of the 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.