Associates a subnet with a route table. 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.
Namespace: Amazon.EC2.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class AssociateRouteTableRequest
Public Class AssociateRouteTableRequest
public ref class AssociateRouteTableRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| AssociateRouteTableRequest()()()() | Initializes a new instance of the AssociateRouteTableRequest class | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsSetRouteTableId()()()() |
Checks if RouteTableId property is set
| |
| IsSetSubnetId()()()() |
Checks if SubnetId property is set
| |
| RouteTableId |
Gets and sets the RouteTableId property.
The ID of the route table.
| |
| SubnetId |
Gets and sets the SubnetId property.
The ID of the subnet.
| |
| ToString()()()() | (Inherited from Object.) | |
| WithRouteTableId(String) |
Sets the RouteTableId property
| |
| WithSubnetId(String) |
Sets the SubnetId property
|