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.
| API | Method | Path |
|---|---|---|
| Create TGW attachment | POST | /api/v1/attachments |
| Delete TGW attachment | DELETE | /api/v1/attachments/{attachment_id} |
| Get TGW attachment | GET | /api/v1/attachments/{attachment_id} |
| List TGW attachments | GET | /api/v1/attachments |
| Reject TGW attachment | PUT | /api/v1/attachments/{attachment_id}/reject |
| Update TGW attachment | PUT | /api/v1/attachments/{attachment_id} |
Route tables
Manages route tables, routes, and associations.
| API | Method | Path |
|---|---|---|
| Create TGW route | POST | /api/v1/route-tables/{route_table_id}/routes |
| Create TGW route table | POST | /api/v1/route-tables |
| Create TGW route table association | POST | /api/v1/route-tables/{route_table_id}/associations |
| Delete TGW route | DELETE | /api/v1/route-tables/{route_table_id}/routes/{route_id} |
| Delete TGW route table | DELETE | /api/v1/route-tables/{route_table_id} |
| Delete TGW route table association | DELETE | /api/v1/route-tables/{route_table_id}/associations/{association_id} |
| Get TGW route table | GET | /api/v1/route-tables/{route_table_id} |
| List TGW route table associations | GET | /api/v1/route-tables/{route_table_id}/associations |
| List TGW route tables | GET | /api/v1/route-tables |
| List TGW routes | GET | /api/v1/route-tables/{route_table_id}/routes |
| Update TGW route | PUT | /api/v1/route-tables/{route_table_id}/routes/{route_id} |
| Update TGW route table | PUT | /api/v1/route-tables/{route_table_id} |
Transit Gateways
Manages Transit Gateway configuration and sharing.
| API | Method | Path |
|---|---|---|
| Approve TGW attachment | PUT | /api/v1/attachments/{attachment_id}/approve |
| Create transit gateway | POST | /api/v1/tgws |
| Delete transit gateway | DELETE | /api/v1/tgws/{tgw_id} |
| Get transit gateway | GET | /api/v1/tgws/{tgw_id} |
| List TGW shared projects | GET | /api/v1/tgws/{tgw_id}/projects |
| List transit gateways | GET | /api/v1/tgws |
| Share transit gateway | POST | /api/v1/tgws/{tgw_id}/projects/{target_project_id} |
| Unshare transit gateway | DELETE | /api/v1/tgws/{tgw_id}/projects/{target_project_id} |
| Update transit gateway | PUT | /api/v1/tgws/{tgw_id} |