Skip to main content

vpn_gateways_list_only

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

Overview

Namevpn_gateways_list_only
TypeResource
DescriptionSpecifies a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself.
For more information, see [](https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the *User Guide*.
Idaws.ec2.vpn_gateways_list_only

Fields

NameDatatypeDescription
v_pn_gateway_idstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all vpn_gateways in a region.

SELECT
region,
v_pn_gateway_id
FROM aws.ec2.vpn_gateways_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the vpn_gateways_list_only resource, see vpn_gateways