import * as core from "@terrascript/core"; export interface DsVpcLinkArgs { /** * (Required) The name of the API Gateway VPC Link to look up. If no API Gateway VPC Link is found with * this name, an error will be returned. */ name: string | core.StringOut; /** * Key-value map of resource tags */ tags?: core.Map | core.MapOut; } export class DsVpcLink extends core.Data { /** * The description of the VPC link. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * Set to the ID of the found API Gateway VPC Link. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the API Gateway VPC Link to look up. If no API Gateway VPC Link is found with * this name, an error will be returned. */ @core.attr(String) public name!: string | core.StringOut; /** * The status of the VPC link. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * The status message of the VPC link. */ @core.attr(String, { computed: true }) public statusMessage!: string | core.StringOut; /** * Key-value map of resource tags */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * The list of network load balancer arns in the VPC targeted by the VPC link. Currently AWS only suppo * rts 1 target. */ @core.attr(String, { computed: true, kind: "array" }) public targetArns!: core.Array | core.ArrayOut; constructor(name: string, args?: DsVpcLinkArgs) { super(name, "aws_api_gateway_vpc_link", args); } public override getNamespace(): string { return "aws_api_gateway"; } }