RouteTable
A resource of the AWS provider, version 0.3.0, in its Networking group. Import it with:
import RouteTable from "aws/networking"Example
resource RouteTable example {
vpcId = "example-value"
routes = "..."
tags = "..."
}Properties
Set by your code in the resource block. A required one must be set; any other you leave out takes the value under Default, if it has one.
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
vpcId | string | — | No | The VPC ID where the route table will be created |
routes | any[] | — | No | Routes in this route table |
tags | object | — | No | Tags to apply to the route table |
Set by AWS after the resource is created: your code can read them but not set them. An importable one identifies an existing resource.
| Name | Type | Importable | Description |
|---|---|---|---|
routeTableId | string | No | The route table ID assigned by AWS |
ownerId | string | No | The AWS account ID that owns the route table |
main | boolean | No | Whether this is the main route table for the VPC |
associatedSubnetIds | any[] | No | List of subnet IDs associated with this route table |