Skip to main content

vpn_gateway_tags

Expands all tag keys and values for vpn_gateways in a region

Overview

Namevpn_gateway_tags
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_gateway_tags

Fields

NameDatatypeDescription
v_pn_gateway_idstring
amazon_side_asnintegerThe private Autonomous System Number (ASN) for the Amazon side of a BGP session.
typestringThe type of VPN connection the virtual private gateway supports.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all vpn_gateways in a region.

SELECT
region,
v_pn_gateway_id,
amazon_side_asn,
type,
tag_key,
tag_value
FROM aws.ec2.vpn_gateway_tags
WHERE region = 'us-east-1';

Permissions

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