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

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

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

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

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

  @core.attr(String, { computed: true })
  public minimumEngineVersion!: 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, kind: "array" })
  public userNames!: core.Array<string> | core.ArrayOut<core.StringOut>;

  constructor(name: string, args?: DsAclArgs) {
    super(name, "aws_memorydb_acl", args);
  }

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