aws ec2 search-transit-gateway-routes
Searches for routes in the specified transit gateway route table. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--filtersOne or more filters.--max-resultsThe maximum number of routes to return.--next-tokenThe token for the next page of results.--transit-gateway-route-table-idThe ID of the transit gateway route table.