Associates a subnet with a route table.

C# |
public AssociateRouteTableResponse AssociateRouteTable( AssociateRouteTableRequest request )

- request (AssociateRouteTableRequest)
- Associate Route Table request

Associate Route Table Response from the service

The subnet and route table must be in the same VPC. This
association causes traffic originating from the subnet
to be routed according to the routes in the route table.
The action returns an association ID, which you need if
you want to disassociate the route table from the subnet
later. A route table can be associated with multiple subnets.

Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |