import * as core from "@terrascript/core"; export interface BandwidthArgs extends core.SchemaArgs { downloadSpeed: number | core.NumberOut; uploadSpeed: number | core.NumberOut; } export class Bandwidth extends core.Schema { @core.attr(Number, { computed: true }) public downloadSpeed!: number | core.NumberOut; @core.attr(Number, { computed: true }) public uploadSpeed!: number | core.NumberOut; } export interface DsLinkArgs { /** * (Required) The ID of the Global Network of the link to retrieve. */ globalNetworkId: string | core.StringOut; /** * (Required) The id of the specific link to retrieve. */ linkId: string | core.StringOut; /** * Key-value tags for the link. */ tags?: core.Map | core.MapOut; } export class DsLink extends core.Data { /** * The ARN of the link. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The upload speed and download speed of the link as documented below */ @core.attr(Bandwidth, { computed: true, kind: "array" }) public bandwidth!: core.Array | core.ArrayOut; /** * The description of the link. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * (Required) The ID of the Global Network of the link to retrieve. */ @core.attr(String) public globalNetworkId!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The id of the specific link to retrieve. */ @core.attr(String) public linkId!: string | core.StringOut; /** * The provider of the link. */ @core.attr(String, { computed: true }) public providerName!: string | core.StringOut; /** * The ID of the site. */ @core.attr(String, { computed: true }) public siteId!: string | core.StringOut; /** * Key-value tags for the link. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * The type of the link. */ @core.attr(String, { computed: true }) public type!: string | core.StringOut; constructor(name: string, args?: DsLinkArgs) { super(name, "aws_networkmanager_link", args); } public override getNamespace(): string { return "aws_networkmanager"; } }