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

export interface DsConnectionArgs {
  connectionId: string | core.StringOut;

  globalNetworkId: string | core.StringOut;

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

export class DsConnection extends core.Data<DsConnectionArgs> {
  @core.attr(String, { computed: true })
  public arn!: string | core.StringOut;

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

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

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

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

  @core.attr(String, { computed: true })
  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 })
  public linkId!: string | core.StringOut;

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

  constructor(name: string, args?: DsConnectionArgs) {
    super(name, "aws_networkmanager_connection", args);
  }

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