paws.compute (version 0.1.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.

Usage

ec2_attach_vpn_gateway(VpcId, VpnGatewayId, DryRun)

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.

Request syntax

svc$attach_vpn_gateway(
  VpcId = "string",
  VpnGatewayId = "string",
  DryRun = TRUE|FALSE
)

Details

For more information, see AWS Site-to-Site VPN in the AWS Site-to-Site VPN User Guide.