CreateRouteTable#

Description#

Creates a route table for the specified VPC.

Request Parameters#

Required parameters#

  • VpcId — The ID of the VPC.

    • Type: String

    • Required: Yes

Optional parameters#

  • TagSpecification.N — The tags assigned to the resource when it is created.

Response Elements#

  • requestId — The request ID.

    • Type: String

  • routeTable — The route table.

Examples#

c2-ec2 CreateRouteTable VpcId <vpc_id>

c2-ec2 CreateRouteTable VpcId <vpc_id> TagSpecification.1.ResourceType route-table \
                        TagSpecification.1.Tag.1.Key "tag_key" TagSpecification.1.Tag.1.Value "tag_value"