Associates a subnet with a route table.
Declaration Syntax
C# |
public class AssociateRouteTableRequest : EC2Request
Members
All Members | Constructors | Methods | Properties | ||
Icon | 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 |
The ID of the route table.
| |
SubnetId |
The ID of the subnet.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithRouteTableId(String) | Obsolete.
Sets the ID of the route table.
| |
WithSubnetId(String) | Obsolete.
Sets the ID of the subnet.
|
Remarks
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.
Inheritance Hierarchy
Object | ||
EC2Request | ||
AssociateRouteTableRequest |