Skip to main content

vpn_connection_routes_list_only

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

Overview

Namevpn_connection_routes_list_only
TypeResource
DescriptionSpecifies a static route for a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.
For more information, see [](https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the *User Guide*.
Idaws.ec2.vpn_connection_routes_list_only

Fields

NameDatatypeDescription
destination_cidr_blockstringThe CIDR block associated with the local subnet of the customer network.
vpn_connection_idstringThe ID of the VPN connection.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all vpn_connection_routes in a region.

SELECT
region,
destination_cidr_block,
vpn_connection_id
FROM aws.ec2.vpn_connection_routes_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the vpn_connection_routes_list_only resource, see vpn_connection_routes