Skip to main content

virtual_interface_routes

Creates, updates, deletes, gets or lists a virtual_interface_routes resource.

Overview

Namevirtual_interface_routes
TypeResource
Idaws.directconnect.virtual_interface_routes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe token to use to retrieve the next page of results. This value is null when there are no more results to return.
routesarrayThe routes for the virtual interface.
virtual_interface_idstringThe ID of the virtual interface.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_virtual_interface_routesselectregionLists the routes for the specified virtual interface. Use the routeDirection filter to control which routes are returned: accepted: routes received from the customer network over the virtual interface. advertised: routes advertised to the customer network over the virtual interface.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists the routes for the specified virtual interface. Use the routeDirection filter to control which routes are returned: accepted: routes received from the customer network over the virtual interface. advertised: routes advertised to the customer network over the virtual interface.

SELECT
next_token,
routes,
virtual_interface_id
FROM aws.directconnect.virtual_interface_routes
WHERE region = '{{ region }}' -- required
;