createRouteTable
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.
For more information, see Route tables in the Amazon VPC User Guide.
Samples
fun main() {
//sampleStart
// This example creates a route table for the specified VPC.
val resp = ec2Client.createRouteTable {
vpcId = "vpc-a01106c2"
}
//sampleEnd
}