Skip to main content

Transit Gateway (TGW)

Transit Gateway (TGW) is a centralized network transit hub that lets you easily and flexibly connect multiple Virtual Private Clouds (VPCs) and on-premises networks.

For more information about Transit Gateway, see the Transit Gateway service documentation.

APIs by resource​

Select an API for key resources such as transit gateways, attachments, and route tables to view its request details and response format.

Attachments​

Manages Transit Gateway attachments.

APIMethodPath
Create TGW attachmentPOST/api/v1/attachments
Delete TGW attachmentDELETE/api/v1/attachments/{attachment_id}
Get TGW attachmentGET/api/v1/attachments/{attachment_id}
List TGW attachmentsGET/api/v1/attachments
Reject TGW attachmentPUT/api/v1/attachments/{attachment_id}/reject
Update TGW attachmentPUT/api/v1/attachments/{attachment_id}

Route tables​

Manages route tables, routes, and associations.

APIMethodPath
Create TGW routePOST/api/v1/route-tables/{route_table_id}/routes
Create TGW route tablePOST/api/v1/route-tables
Create TGW route table associationPOST/api/v1/route-tables/{route_table_id}/associations
Delete TGW routeDELETE/api/v1/route-tables/{route_table_id}/routes/{route_id}
Delete TGW route tableDELETE/api/v1/route-tables/{route_table_id}
Delete TGW route table associationDELETE/api/v1/route-tables/{route_table_id}/associations/{association_id}
Get TGW route tableGET/api/v1/route-tables/{route_table_id}
List TGW route table associationsGET/api/v1/route-tables/{route_table_id}/associations
List TGW route tablesGET/api/v1/route-tables
List TGW routesGET/api/v1/route-tables/{route_table_id}/routes
Update TGW routePUT/api/v1/route-tables/{route_table_id}/routes/{route_id}
Update TGW route tablePUT/api/v1/route-tables/{route_table_id}

Transit Gateways​

Manages Transit Gateway configuration and sharing.

APIMethodPath
Approve TGW attachmentPUT/api/v1/attachments/{attachment_id}/approve
Create transit gatewayPOST/api/v1/tgws
Delete transit gatewayDELETE/api/v1/tgws/{tgw_id}
Get transit gatewayGET/api/v1/tgws/{tgw_id}
List TGW shared projectsGET/api/v1/tgws/{tgw_id}/projects
List transit gatewaysGET/api/v1/tgws
Share transit gatewayPOST/api/v1/tgws/{tgw_id}/projects/{target_project_id}
Unshare transit gatewayDELETE/api/v1/tgws/{tgw_id}/projects/{target_project_id}
Update transit gatewayPUT/api/v1/tgws/{tgw_id}