Skip to main content

vpn_connections_list_only

Lists vpn_connections in a region or regions, for all properties use vpn_connections

Overview

Namevpn_connections_list_only
TypeResource
DescriptionSpecifies a VPN connection between a virtual private gateway and a VPN customer gateway or a transit gateway and a VPN customer gateway.
To specify a VPN connection between a transit gateway and customer gateway, use the TransitGatewayId and CustomerGatewayId properties.
To specify a VPN connection between a virtual private gateway and customer gateway, use the VpnGatewayId and CustomerGatewayId properties.
For more information, see [](https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the *User Guide*.
Idaws.ec2.vpn_connections_list_only

Fields

NameDatatypeDescription
vpn_connection_idstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all vpn_connections in a region.

SELECT
region,
vpn_connection_id
FROM aws.ec2.vpn_connections_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the vpn_connections_list_only resource, see vpn_connections