import * as core from "@terrascript/core";

export interface DsConnectionsArgs {
  deviceId?: string | core.StringOut;

  globalNetworkId: string | core.StringOut;

  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;
}

export class DsConnections extends core.Data<DsConnectionsArgs> {
  @core.attr(String)
  public deviceId?: string | core.StringOut;

  @core.attr(String)
  public globalNetworkId!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String, { computed: true, kind: "array" })
  public ids!: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(String, { kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  constructor(name: string, args?: DsConnectionsArgs) {
    super(name, "aws_networkmanager_connections", args);
  }

  public override getNamespace(): string {
    return "aws_networkmanager";
  }
}
