import * as core from "@terrascript/core"; export interface DsLinksArgs { /** * (Required) The ID of the Global Network of the links to retrieve. */ globalNetworkId: string | core.StringOut; /** * (Optional) The link provider to retrieve. */ providerName?: string | core.StringOut; /** * (Optional) The ID of the site of the links to retrieve. */ siteId?: string | core.StringOut; /** * (Optional) Restricts the list to the links with these tags. */ tags?: core.Map | core.MapOut; /** * (Optional) The link type to retrieve. */ type?: string | core.StringOut; } export class DsLinks extends core.Data { /** * (Required) The ID of the Global Network of the links to retrieve. */ @core.attr(String) public globalNetworkId!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The IDs of the links. */ @core.attr(String, { computed: true, kind: "array" }) public ids!: core.Array | core.ArrayOut; /** * (Optional) The link provider to retrieve. */ @core.attr(String) public providerName?: string | core.StringOut; /** * (Optional) The ID of the site of the links to retrieve. */ @core.attr(String) public siteId?: string | core.StringOut; /** * (Optional) Restricts the list to the links with these tags. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * (Optional) The link type to retrieve. */ @core.attr(String) public type?: string | core.StringOut; constructor(name: string, args?: DsLinksArgs) { super(name, "aws_networkmanager_links", args); } public override getNamespace(): string { return "aws_networkmanager"; } }