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