import * as core from "@terrascript/core"; export interface EndpointSubnetAssociationArgs extends core.ResourceArgs { /** * (Required) The ID of the subnet to be associated with the VPC endpoint. */ subnetId: string | core.StringOut; /** * (Required) The ID of the VPC endpoint with which the subnet will be associated. */ vpcEndpointId: string | core.StringOut; } export class EndpointSubnetAssociation extends core.Resource { /** * The ID of the association. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The ID of the subnet to be associated with the VPC endpoint. */ @core.attr(String) public subnetId!: string | core.StringOut; /** * (Required) The ID of the VPC endpoint with which the subnet will be associated. */ @core.attr(String) public vpcEndpointId!: string | core.StringOut; constructor(name: string, args?: EndpointSubnetAssociationArgs) { super(name, "aws_vpc_endpoint_subnet_association", args); } public override getNamespace(): string { return "aws_vpc"; } }