Replace a static route using Amazon VPC Transit Gateways
Replace a static route in a transit gateway route table with a different static route.
To replace a static route using the console
-
Open the Amazon VPC console at https://console.aws.amazon.com/vpc/
. -
On the navigation pane, choose Transit Gateway Route Tables.
-
Choose the route that you want to replace in the route table.
-
In the details section, choose the Routes tab.
-
Choose Actions, Replace static route.
-
For the Type, choose either Active or Blackhole.
-
From the Choose attachment drop-down, choose the transit gateway that will replace the current one in the route table.
-
Choose Replace static route.
To replace a static route using the AWS CLI
Use the replace-transit-gateway-route command.