DeleteTransitGateway
In this article:
DeleteTransitGateway#
Description#
Request to delete a transit gateway.
Note
Executing the request deletes the transit gateway and all its route tables.
Request Parameters#
TransitGatewayId — The ID of the transit gateway.
Type: String
Required: Yes
Response Elements#
requestId — The request ID.
Type: String
transitGateway — Information about the transit gateway.
Type: TransitGateway object
Examples#
c2-ec2 DeleteTransitGateway tgw-12345678