import * as core from "@terrascript/core"; export interface DsConnectionArgs { /** * (Required) The id of the specific connection to retrieve. */ connectionId: string | core.StringOut; /** * (Required) The ID of the Global Network of the connection to retrieve. */ globalNetworkId: string | core.StringOut; /** * Key-value tags for the connection. */ tags?: core.Map | core.MapOut; } export class DsConnection extends core.Data { /** * The ARN of the connection. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The ID of the second device in the connection. */ @core.attr(String, { computed: true }) public connectedDeviceId!: string | core.StringOut; /** * The ID of the link for the second device. */ @core.attr(String, { computed: true }) public connectedLinkId!: string | core.StringOut; /** * (Required) The id of the specific connection to retrieve. */ @core.attr(String) public connectionId!: string | core.StringOut; /** * A description of the connection. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * The ID of the first device in the connection. */ @core.attr(String, { computed: true }) public deviceId!: string | core.StringOut; /** * (Required) The ID of the Global Network of the connection to retrieve. */ @core.attr(String) public globalNetworkId!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The ID of the link for the first device. */ @core.attr(String, { computed: true }) public linkId!: string | core.StringOut; /** * Key-value tags for the connection. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsConnectionArgs) { super(name, "aws_networkmanager_connection", args); } public override getNamespace(): string { return "aws_networkmanager"; } }