Attaches a virtual private gateway to a VPC. You can attach one virtual private gateway to one VPC at a time.
For more information, see AWS Site-to-Site VPN in the AWS Site-to-Site VPN User Guide.
ec2_attach_vpn_gateway(VpcId, VpnGatewayId, DryRun)
A list with the following syntax:
list(
VpcAttachment = list(
State = "attaching"|"attached"|"detaching"|"detached",
VpcId = "string"
)
)
[required] The ID of the VPC.
[required] The ID of the virtual private gateway.
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
.
svc$attach_vpn_gateway(
VpcId = "string",
VpnGatewayId = "string",
DryRun = TRUE|FALSE
)