Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Latest commit

 

History

History
47 lines (35 loc) · 2.74 KB

aws_route_table.md

File metadata and controls

47 lines (35 loc) · 2.74 KB

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)",
}
Name Type Required
dry_run Boolean false
filters FilterList false
vpc_id String false
max_results Integer false
next_token String false
route_table_id String false
route_table_ids ValueStringList false
vpc_id String false

CRUD operations

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

Operation Path Verb Description OperationID
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