Route

Route(route_table_id, destination_cidr_block)

Creates a Route resource.:

route = ec2.Route('route_table_id','destination_cidr_block')
Parameters
  • route_table_id (string) -- The Route's route_table_id identifier. This must be set.
  • destination_cidr_block (string) -- The Route's destination_cidr_block identifier. This must be set.
Return type

EC2.Route

Returns

A Route resource