Skip to main content

vpn_connection_route

Gets an individual vpn_connection_route resource

Overview

Namevpn_connection_route
TypeResource
Descriptionvpn_connection_route
Idawscc.ec2.vpn_connection_route

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_route
WHERE data__Identifier = '<DestinationCidrBlock>|<VpnConnectionId>';

Permissions

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

Read

ec2:DescribeVpnConnections

Delete

ec2:DeleteVpnConnectionRoute,
ec2:DescribeVpnConnections