Skip to main content

vpn_connection_routes

Retrieves a list of vpn_connection_routes in a region

Overview

Namevpn_connection_routes
TypeResource
Descriptionvpn_connection_routes
Idawscc.ec2.vpn_connection_routes

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

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
destination_cidr_block,
vpn_connection_id
FROM awscc.ec2.vpn_connection_routes
WHERE region = 'us-east-1'

Permissions

To operate on the vpn_connection_routes resource, the following permissions are required:

Create

ec2:CreateVpnConnectionRoute,
ec2:DescribeVpnConnections

List

ec2:DescribeVpnConnections