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

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

  scope: string | core.StringOut;
}

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

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

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

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

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

  constructor(name: string, args?: DsV2WebAclArgs) {
    super(name, "aws_wafv2_web_acl", args);
  }

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