paws.compute (version 0.1.0)

ec2_create_route_table: Creates a route table for the specified VPC

Description

Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet.

Usage

ec2_create_route_table(DryRun, VpcId)

Arguments

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

VpcId

[required] The ID of the VPC.

Request syntax

svc$create_route_table(
  DryRun = TRUE|FALSE,
  VpcId = "string"
)

Details

For more information, see Route Tables in the Amazon Virtual Private Cloud User Guide.

Examples

Run this code
# NOT RUN {
# This example creates a route table for the specified VPC.
# }
# NOT RUN {
svc$create_route_table(
  VpcId = "vpc-a01106c2"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab