Skip to main content

network_routes

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

Overview

Namenetwork_routes
TypeResource
Idaws.networkmanager.network_routes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
core_network_segment_edgeobjectDescribes a core network segment edge.
network_routesarrayThe network routes.
route_table_arnstringThe ARN of the route table. (pattern: <code>[\s\S]*</code>)
route_table_timestampstring (date-time)The route table creation time.
route_table_typestringThe route table type. (TRANSIT_GATEWAY_ROUTE_TABLE, CORE_NETWORK_SEGMENT, NETWORK_FUNCTION_GROUP)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_network_routesselectglobal_network_id, regionGets the network routes of the specified global network.

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
global_network_idstringThe ID of the global network.
regionstringAWS region (default: us-east-1)

SELECT examples

Gets the network routes of the specified global network.

SELECT
core_network_segment_edge,
network_routes,
route_table_arn,
route_table_timestamp,
route_table_type
FROM aws.networkmanager.network_routes
WHERE global_network_id = '{{ global_network_id }}' -- required
AND region = '{{ region }}' -- required
;