import * as core from "@terrascript/core"; export interface VpcLinkArgs extends core.ResourceArgs { /** * (Optional) The description of the VPC link. */ description?: string | core.StringOut; /** * (Required) The name used to label and identify the VPC link. */ name: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ 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; /** * (Required, ForceNew) The list of network load balancer arns in the VPC targeted by the VPC link. Cur * rently AWS only supports 1 target. */ targetArns: core.Array | core.ArrayOut; } export class VpcLink extends core.Resource { @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The description of the VPC link. */ @core.attr(String) public description?: string | core.StringOut; /** * The identifier of the VpcLink. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name used to label and identify the VPC link. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @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; /** * (Required, ForceNew) The list of network load balancer arns in the VPC targeted by the VPC link. Cur * rently AWS only supports 1 target. */ @core.attr(String, { kind: "array" }) public targetArns!: core.Array | core.ArrayOut; constructor(name: string, args?: VpcLinkArgs) { super(name, "aws_api_gateway_vpc_link", args); } public override getNamespace(): string { return "aws_api_gateway"; } }