Skip to main content

route_analysis

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

Overview

Nameroute_analysis
TypeResource
Idaws.networkmanager.route_analysis

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
destinationobjectThe destination.
forward_pathobjectThe forward path.
global_network_idstringThe ID of the global network. (pattern: <code>[\s\S]*</code>)
include_return_pathbooleanIndicates whether to analyze the return path. The return path is not analyzed if the forward path analysis does not succeed.
owner_account_idstringThe ID of the AWS account that created the route analysis. (pattern: <code>[\s\S]*</code>)
return_pathobjectThe return path.
route_analysis_idstringThe ID of the route analysis. (pattern: <code>[\s\S]*</code>)
sourceobjectThe source.
start_timestampstring (date-time)The time that the analysis started.
statusstringThe status of the route analysis. (RUNNING, COMPLETED, FAILED)
use_middleboxesbooleanIndicates whether to include the location of middlebox appliances in the route analysis.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_route_analysisselectglobal_network_id, route_analysis_id, regionGets information about the specified route analysis.
start_route_analysisexecglobal_network_id, region, Source, DestinationStarts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.

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)
route_analysis_idstringThe ID of the route analysis.

SELECT examples

Gets information about the specified route analysis.

SELECT
destination,
forward_path,
global_network_id,
include_return_path,
owner_account_id,
return_path,
route_analysis_id,
source,
start_timestamp,
status,
use_middleboxes
FROM aws.networkmanager.route_analysis
WHERE global_network_id = '{{ global_network_id }}' -- required
AND route_analysis_id = '{{ route_analysis_id }}' -- required
AND region = '{{ region }}' -- required
;

Lifecycle Methods

Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.

EXEC aws.networkmanager.route_analysis.start_route_analysis
@global_network_id='{{ global_network_id }}' --required,
@region='{{ region }}' --required
@@json=
'{
"Source": "{{ Source }}",
"Destination": "{{ Destination }}",
"IncludeReturnPath": {{ IncludeReturnPath }},
"UseMiddleboxes": {{ UseMiddleboxes }}
}'
;