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

export interface DsGlobalNetworkArgs {
  globalNetworkId: string | core.StringOut;

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

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

  @core.attr(String, { computed: true })
  public description!: 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: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  constructor(name: string, args?: DsGlobalNetworkArgs) {
    super(name, "aws_networkmanager_global_network", args);
  }

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