Skip to main content

RouteTableSchema

The RouteTableSchema class is the schema for the RouteTable resource, which represents the AWS VPC Route Table resource. This resource can create a route table in AWS using the AWS JavaScript SDK V3 API. See official sdk docs.

@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

inheritedparents

parents: IResourceReference[]

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

response

response: { RouteTableArn?: string; RouteTableId?: string; subnetAssociationId?: string } = ...

Saved response.

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

Type declaration

  • optionalRouteTableArn?: string
  • optionalRouteTableId?: string
  • optionalsubnetAssociationId?: string

inheritedtags

tags: {}

Type declaration

  • [key string]: string