AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
You can also use ReplaceRouteTableAssociation to change which table is the main route table in the VPC. You just specify the main route table's association ID and the route table to be the new main route table.
Version: (assembly version)
public virtual ReplaceRouteTableAssociationResponse ReplaceRouteTableAssociation( ReplaceRouteTableAssociationRequest request )
Container for the necessary parameters to execute the ReplaceRouteTableAssociation service method.
Supported in: 4.5, 4.0, 3.5