AWS SDK Version 3 for .NET
API Reference

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.

Describes an association between a route table and a subnet or gateway.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.RouteTableAssociation

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class RouteTableAssociation

The RouteTableAssociation type exposes the following members

Constructors

NameDescription
Public Method RouteTableAssociation()

Properties

NameTypeDescription
Public Property AssociationState Amazon.EC2.Model.RouteTableAssociationState

Gets and sets the property AssociationState.

The state of the association.

Public Property GatewayId System.String

Gets and sets the property GatewayId.

The ID of the internet gateway or virtual private gateway.

Public Property Main System.Boolean

Gets and sets the property Main.

Indicates whether this is the main route table.

Public Property RouteTableAssociationId System.String

Gets and sets the property RouteTableAssociationId.

The ID of the association.

Public Property RouteTableId System.String

Gets and sets the property RouteTableId.

The ID of the route table.

Public Property SubnetId System.String

Gets and sets the property SubnetId.

The ID of the subnet. A subnet ID is not returned for an implicit association.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5