Method: AWS::EC2::Subnet#route_table

Defined in:
lib/aws/ec2/subnet.rb

#route_tableRouteTable

Returns the route table currently associated with this subnet.

Returns:

  • (RouteTable)

    Returns the route table currently associated with this subnet.



87
88
89
# File 'lib/aws/ec2/subnet.rb', line 87

def route_table
  route_table_association.route_table
end