Skip to main content

vpn_connection

Gets an individual vpn_connection resource

Overview

Namevpn_connection
TypeResource
Descriptionvpn_connection
Idawscc.ec2.vpn_connection

Fields

NameDatatypeDescription
vpn_connection_idstringThe provider-assigned unique ID for this managed resource
customer_gateway_idstringThe ID of the customer gateway at your end of the VPN connection.
static_routes_onlybooleanIndicates whether the VPN connection uses static routes only.
tagsarrayAny tags assigned to the VPN connection.
transit_gateway_idstringThe ID of the transit gateway associated with the VPN connection.
typestringThe type of VPN connection.
vpn_gateway_idstringThe ID of the virtual private gateway at the AWS side of the VPN connection.
vpn_tunnel_options_specificationsarrayThe tunnel options for the VPN connection.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
vpn_connection_id,
customer_gateway_id,
static_routes_only,
tags,
transit_gateway_id,
type,
vpn_gateway_id,
vpn_tunnel_options_specifications
FROM awscc.ec2.vpn_connection
WHERE data__Identifier = '<VpnConnectionId>';

Permissions

To operate on the vpn_connection resource, the following permissions are required:

Delete

ec2:DescribeVpnConnections,
ec2:DeleteVpnConnection,
ec2:DeleteTags

Update

ec2:DescribeVpnConnections,
ec2:CreateTags,
ec2:DeleteTags

Read

ec2:DescribeVpnConnections