AWS SDK for .NET Documentation
AssociateRouteTableRequest Class
AmazonAmazon.EC2.ModelAssociateRouteTableRequest Did this page help you?   Yes   No    Tell us about it...
Associates a subnet with a route table.
Declaration Syntax
C#
public class AssociateRouteTableRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
AssociateRouteTableRequest()()()()
Initializes a new instance of the AssociateRouteTableRequest class

Equals(Object)
Determines whether the specified Object is equal to the current 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

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)