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

export interface DsQueueArgs {
  name: string | core.StringOut;

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

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

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

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

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

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

  constructor(name: string, args?: DsQueueArgs) {
    super(name, "aws_sqs_queue", args);
  }

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