import * as core from "@terrascript/core"; export interface InternetGatewayAttachmentArgs extends core.ResourceArgs { /** * (Required) The ID of the internet gateway. */ internetGatewayId: string | core.StringOut; /** * (Required) The ID of the VPC. */ vpcId: string | core.StringOut; } export class InternetGatewayAttachment extends core.Resource { /** * The ID of the VPC and Internet Gateway separated by a colon. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The ID of the internet gateway. */ @core.attr(String) public internetGatewayId!: string | core.StringOut; /** * (Required) The ID of the VPC. */ @core.attr(String) public vpcId!: string | core.StringOut; constructor(name: string, args?: InternetGatewayAttachmentArgs) { super(name, "aws_internet_gateway_attachment", args); } public override getNamespace(): string { return "aws_vpc"; } }