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

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

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

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

  constructor(name: string, args?: DsRateBasedRuleArgs) {
    super(name, "aws_waf_rate_based_rule", args);
  }

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