aws ec2 export-transit-gateway-routes
Exports routes from the specified transit gateway route table to the specified S3 bucket. AWS CLI reference
4 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.--s3-bucketThe name of the S3 bucket.--transit-gateway-route-table-idThe ID of the route table.