vpn_gateways_list_only
Lists vpn_gateways
in a region or regions, for all properties use vpn_gateways
Overview
Name | vpn_gateways_list_only |
Type | Resource |
Description | Specifies 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*. |
Id | aws.ec2.vpn_gateways_list_only |
Fields
Name | Datatype | Description |
---|---|---|
v_pn_gateway_id | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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