Skip to main content

core_network_routing_informations

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

Overview

Namecore_network_routing_informations
TypeResource
Idaws.networkmanager.core_network_routing_informations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
as_patharrayThe BGP AS path for the route.
communitiesarrayThe BGP community values for the route.
local_preferencestringThe BGP local preference value for the route. (pattern: <code>[\s\S]*</code>)
medstringThe BGP Multi-Exit Discriminator (MED) value for the route. (pattern: <code>[\s\S]*</code>)
next_hopobjectThe next hop information for the route.
prefixstringThe IP prefix for the route. (pattern: <code>[\s\S]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_core_network_routing_informationselectcore_network_id, regionmaxResults, nextTokenLists 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.

NameDatatypeDescription
core_network_idstringThe ID of the core network to retrieve routing information for.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of routing information entries to return in a single page.
nextTokenstringThe token for the next page of results.

SELECT examples

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 }}'
;