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

export interface RegexPatternSetArgs extends core.ResourceArgs {
  name: string | core.StringOut;

  regexPatternStrings?: core.Array<string> | core.ArrayOut<core.StringOut>;
}

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

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

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

  @core.attr(String, { kind: "array" })
  public regexPatternStrings?:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

  constructor(name: string, args?: RegexPatternSetArgs) {
    super(name, "aws_waf_regex_pattern_set", args);
  }

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