import * as core from "@terrascript/core"; export interface FieldToMatchArgs extends core.SchemaArgs { data?: string | core.StringOut; type: string | core.StringOut; } export class FieldToMatch extends core.Schema { @core.attr(String) public data?: string | core.StringOut; @core.attr(String) public type!: string | core.StringOut; } export interface RegexMatchTupleArgs extends core.SchemaArgs { fieldToMatch: FieldToMatch; regexPatternSetId: string | core.StringOut; textTransformation: string | core.StringOut; } export class RegexMatchTuple extends core.Schema { @core.attr(FieldToMatch) public fieldToMatch!: FieldToMatch; @core.attr(String) public regexPatternSetId!: string | core.StringOut; @core.attr(String) public textTransformation!: string | core.StringOut; } export interface RegexMatchSetArgs extends core.ResourceArgs { /** * (Required) The name or description of the Regex Match Set. */ name: string | core.StringOut; /** * (Required) The regular expression pattern that you want AWS WAF to search for in web requests, the l * ocation in requests that you want AWS WAF to search, and other settings. See below. */ regexMatchTuple?: | core.Array | core.ArrayOut; } export class RegexMatchSet extends core.Resource { /** * Amazon Resource Name (ARN) */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The ID of the WAF Regex Match Set. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name or description of the Regex Match Set. */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) The regular expression pattern that you want AWS WAF to search for in web requests, the l * ocation in requests that you want AWS WAF to search, and other settings. See below. */ @core.attr(RegexMatchTuple, { kind: "array" }) public regexMatchTuple?: | core.Array | core.ArrayOut; constructor(name: string, args?: RegexMatchSetArgs) { super(name, "aws_waf_regex_match_set", args); } public override getNamespace(): string { return "aws_waf"; } }