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

export interface DsUsersArgs {
  nameRegex?: string | core.StringOut;

  pathPrefix?: string | core.StringOut;
}

export class DsUsers extends core.Data<DsUsersArgs> {
  @core.attr(String, { computed: true, kind: "array" })
  public arns!: core.Array<string> | core.ArrayOut<core.StringOut>;

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

  @core.attr(String)
  public nameRegex?: string | core.StringOut;

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

  @core.attr(String)
  public pathPrefix?: string | core.StringOut;

  constructor(name: string, args?: DsUsersArgs) {
    super(name, "aws_iam_users", args);
  }

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