core_network_routing_informations
Creates, updates, deletes, gets or lists a core_network_routing_informations resource.
Overview
| Name | core_network_routing_informations |
| Type | Resource |
| Id | aws.networkmanager.core_network_routing_informations |
Fields
The following fields are returned by SELECT queries:
- list_core_network_routing_information
| Name | Datatype | Description |
|---|---|---|
as_path | array | The BGP AS path for the route. |
communities | array | The BGP community values for the route. |
local_preference | string | The BGP local preference value for the route. (pattern: <code>[\s\S]*</code>) |
med | string | The BGP Multi-Exit Discriminator (MED) value for the route. (pattern: <code>[\s\S]*</code>) |
next_hop | object | The next hop information for the route. |
prefix | string | The IP prefix for the route. (pattern: <code>[\s\S]*</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_core_network_routing_information | select | core_network_id, region | maxResults, nextToken | Lists routing information for a core network, including routes and their attributes. |
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 |
|---|---|---|
core_network_id | string | The ID of the core network to retrieve routing information for. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of routing information entries to return in a single page. |
nextToken | string | The token for the next page of results. |
SELECT examples
- list_core_network_routing_information
Lists routing information for a core network, including routes and their attributes.
SELECT
as_path,
communities,
local_preference,
med,
next_hop,
prefix
FROM aws.networkmanager.core_network_routing_informations
WHERE core_network_id = '{{ core_network_id }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;