Modify a prefix list reference using Amazon VPC Transit Gateways
You can modify a prefix list reference by changing the attachment that the traffic is routed to, or indicating whether to drop traffic that matches the route.
You cannot modify the individual routes for a prefix list in the Routes tab. To modify the entries in the prefix list, use the Managed Prefix Lists screen. For more information, see Modifying a prefix list in the Amazon VPC User Guide.
To modify a prefix list reference using the console
Open the Amazon VPC console at https://console.amazonaws.cn/vpc/
. -
In the navigation pane, choose Transit Gateway Route Tables.
-
Select the transit gateway route table.
-
In the lower pane, choose Prefix list references.
-
Choose the prefix list reference, and choose Modify references.
-
For Type, choose if traffic to this prefix list should be allowed (Active) or dropped (Blackhole).
-
For Transit gateway attachment ID, choose the ID of the attachment to which to route traffic.
-
Choose Modify prefix list reference.
To modify a prefix list reference using the Amazon CLI
Use the modify-transit-gateway-prefix-list-reference command.