aws_route_table.md

April 1, 2019 ยท View on GitHub

Document: "ec2"

Path: "https://github.com/aws/aws-sdk-go-v2/tree/master/models/apis/ec2/2016-11-15/api-2.json")

RouteTable

aws_route_table {
  dry_run => "DryRun (optional)",
  filters => "Filters (optional)",
  vpc_id => "vpc_id (optional)",
  max_results => "1234 (optional)",
  next_token => "next_token (optional)",
  route_table_id => "route_table_id (optional)",
  route_table_ids => "RouteTableIds (optional)",
  vpc_id => "vpc_id (optional)",
}
NameTypeRequired
dry_runBooleanfalse
filtersFilterListfalse
vpc_idStringfalse
max_resultsIntegerfalse
next_tokenStringfalse
route_table_idStringfalse
route_table_idsValueStringListfalse
vpc_idStringfalse

CRUD operations

Here is a list of endpoints that we use to create, read, update and delete the RouteTable

OperationPathVerbDescriptionOperationID
Create/POST

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 Virtual Private Cloud User Guide.

CreateRouteTable
List - list all/POST

Describes one or more of your route tables.

Each subnet in your VPC must be associated with a route table. If a subnet is not explicitly associated with any route table, it is implicitly associated with the main route table. This command does not return the subnet ID for implicit associations.

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

DescribeRouteTables
List - get one``
List - get list using params/POST

Describes one or more of your route tables.

Each subnet in your VPC must be associated with a route table. If a subnet is not explicitly associated with any route table, it is implicitly associated with the main route table. This command does not return the subnet ID for implicit associations.

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

DescribeRouteTables
Update``
Delete/POST

Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table.

DeleteRouteTable