import * as core from "@terrascript/core"; export interface VpcLinkArgs extends core.ResourceArgs { /** * (Required) The name of the VPC Link. Must be between 1 and 128 characters in length. */ name: string | core.StringOut; /** * (Required) Security group IDs for the VPC Link. */ securityGroupIds: core.Array | core.ArrayOut; /** * (Required) Subnet IDs for the VPC Link. */ subnetIds: core.Array | core.ArrayOut; /** * (Optional) A map of tags to assign to the VPC Link. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class VpcLink extends core.Resource { /** * The VPC Link ARN. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The VPC Link identifier. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the VPC Link. Must be between 1 and 128 characters in length. */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) Security group IDs for the VPC Link. */ @core.attr(String, { kind: "array" }) public securityGroupIds!: core.Array | core.ArrayOut; /** * (Required) Subnet IDs for the VPC Link. */ @core.attr(String, { kind: "array" }) public subnetIds!: core.Array | core.ArrayOut; /** * (Optional) A map of tags to assign to the VPC Link. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: VpcLinkArgs) { super(name, "aws_apigatewayv2_vpc_link", args); } public override getNamespace(): string { return "aws_apigatewayv2"; } }