virtual_interface_routes
Creates, updates, deletes, gets or lists a virtual_interface_routes resource.
Overview
| Name | virtual_interface_routes |
| Type | Resource |
| Id | aws.directconnect.virtual_interface_routes |
Fields
The following fields are returned by SELECT queries:
- list_virtual_interface_routes
| Name | Datatype | Description |
|---|---|---|
next_token | string | The token to use to retrieve the next page of results. This value is null when there are no more results to return. |
routes | array | The routes for the virtual interface. |
virtual_interface_id | string | The ID of the virtual interface. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_virtual_interface_routes | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_virtual_interface_routes
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
;