import * as core from "@terrascript/core"; export interface MainRouteTableAssociationArgs extends core.ResourceArgs { /** * (Required) The ID of the Route Table to set as the new */ routeTableId: string | core.StringOut; /** * (Required) The ID of the VPC whose main route table should be set */ vpcId: string | core.StringOut; } export class MainRouteTableAssociation extends core.Resource { /** * The ID of the Route Table Association */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Used internally, see __Notes__ below */ @core.attr(String, { computed: true }) public originalRouteTableId!: string | core.StringOut; /** * (Required) The ID of the Route Table to set as the new */ @core.attr(String) public routeTableId!: string | core.StringOut; /** * (Required) The ID of the VPC whose main route table should be set */ @core.attr(String) public vpcId!: string | core.StringOut; constructor(name: string, args?: MainRouteTableAssociationArgs) { super(name, "aws_main_route_table_association", args); } public override getNamespace(): string { return "aws_vpc"; } }