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
DescriptionSchema for EC2 VPN Gateway
Idaws.ec2.vpn_gateways_list_only

Fields

NameDatatypeDescription
v_pn_gateway_idstringVPN Gateway ID generated by service
amazon_side_asnintegerThe private Autonomous System Number (ASN) for the Amazon side of a BGP session.
tagsarrayAny tags assigned to the virtual private gateway.
typestringThe type of VPN connection the virtual private gateway supports.
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