RouteTableAssociation - Amazon Elastic Compute Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

RouteTableAssociation

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

Contents

associationState

The state of the association.

Type: RouteTableAssociationState object

Required: No

gatewayId

The ID of the internet gateway or virtual private gateway.

Type: String

Required: No

main

Indicates whether this is the main route table.

Type: Boolean

Required: No

routeTableAssociationId

The ID of the association.

Type: String

Required: No

routeTableId

The ID of the route table.

Type: String

Required: No

subnetId

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

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: