Skip to main content

RouteTableSchema

RouteTableSchema is the schema of the RouteTable resource: a route table, which decides where traffic leaving a subnet goes. Terraform provisions it as aws_route_table and aws_route_table_association.

@group

Resources/RouteTable

@overrideProperty

parents - This resource has parents.

@overrideProperty

resourceId - The resource id is of format rt-<subnet-id>

Hierarchy

  • BaseResourceSchema
    • RouteTableSchema

Index

Properties

inheritedlocalResourceId

localResourceId: string

The ID the resource was created with, unique within its scope.

inheritedparents

parents: IResourceReference[]

The resources this one is built on top of.

properties

properties: { associateWithInternetGateway: boolean; awsAccountId: string; awsRegionId: string }

Input properties.

  • properties.associateWithInternetGateway - Option to associate the route table with an Internet Gateway.
  • properties.awsAccountId - The AWS account ID.
  • properties.awsRegionId - The AWS region ID.

Type declaration

  • associateWithInternetGateway: boolean
  • awsAccountId: string
  • awsRegionId: string

inheritedresourceId

resourceId: string

The ID of the resource, unique across the infrastructure: its localResourceId, followed by a hash of its scope when it has one.

response

response: { RouteTableId?: string; subnetAssociationId?: string } = { RouteTableId: 'rtb-0123456789abcdef0', subnetAssociationId: 'rtbassoc-0123456789abcdef0', }

Saved response.

  • response.RouteTableId - The route table ID.
  • response.subnetAssociationId - The association ID representing relationship between route table and subnet.

Type declaration

  • optionalRouteTableId?: string
  • optionalsubnetAssociationId?: string

inheritedscope

scope: string[]

The contexts of the models the resource is placed under, derived from where the node creating it sits in the model graph. Octo sets it; a resource created outside a model action has none.

inheritedtags

tags: {}

The tags applied to the resource.


Type declaration

  • [key string]: string