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