Skip to content

EC2  >  Structures  >  RouteTableAssociation

RouteTableAssociation

Structure Class

RouteTableAssociation dataclass

Bases: _SerdeShape

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

Attributes

association_state class-attribute instance-attribute
association_state: RouteTableAssociationState | None = ...

The state of the association.

gateway_id class-attribute instance-attribute
gateway_id: str | None = ...

The ID of the internet gateway or virtual private gateway.

main class-attribute instance-attribute
main: bool | None = ...

Indicates whether this is the main route table.

public_ipv4_pool class-attribute instance-attribute
public_ipv4_pool: str | None = ...

The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 addresses that you've brought to Amazon Web Services with BYOIP.

route_table_association_id class-attribute instance-attribute
route_table_association_id: str | None = ...

The ID of the association.

route_table_id class-attribute instance-attribute
route_table_id: str | None = ...

The ID of the route table.

subnet_id class-attribute instance-attribute
subnet_id: str | None = ...

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