import * as core from "@terrascript/core"; export interface EndpointRouteTableAssociationArgs extends core.ResourceArgs { /** * (Required) Identifier of the EC2 Route Table to be associated with the VPC Endpoint. */ routeTableId: string | core.StringOut; /** * (Required) Identifier of the VPC Endpoint with which the EC2 Route Table will be associated. */ vpcEndpointId: string | core.StringOut; } export class EndpointRouteTableAssociation extends core.Resource { /** * A hash of the EC2 Route Table and VPC Endpoint identifiers. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Identifier of the EC2 Route Table to be associated with the VPC Endpoint. */ @core.attr(String) public routeTableId!: string | core.StringOut; /** * (Required) Identifier of the VPC Endpoint with which the EC2 Route Table will be associated. */ @core.attr(String) public vpcEndpointId!: string | core.StringOut; constructor(name: string, args?: EndpointRouteTableAssociationArgs) { super(name, "aws_vpc_endpoint_route_table_association", args); } public override getNamespace(): string { return "aws_vpc"; } }