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

export interface DsRuleArgs {
  name: string | core.StringOut;
}

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

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

  constructor(name: string, args?: DsRuleArgs) {
    super(name, "aws_waf_rule", args);
  }

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