Skip to main content

vpn_connection_route

Gets an individual vpn_connection_route resource

Overview

Namevpn_connection_route
TypeResource
DescriptionResource Type definition for AWS::EC2::VPNConnectionRoute
Idaws.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

NameAccessible byRequired Params
delete_resourceDELETEdata__Identifier, region
get_resourceSELECTdata__Identifier, region

SELECT Example

SELECT
region,
destination_cidr_block,
vpn_connection_id
FROM aws.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