class AWS::EC2::RouteTableCollection

def create options = {}

Returns:
  • (RouteTable) -

Options Hash: (**options)
  • :vpc (VPC, String) -- The vpc or vpc id of where you want

Parameters:
  • options (Hash) --
def create options = {}
  client_opts = {}
  client_opts[:vpc_id] = vpc_id_option(options)
  
  resp = client.create_route_table(client_opts)
  RouteTable.new_from(:create_route_table, resp.route_table,
    resp.route_table.route_table_id, :config => config)
end