import { TextTransformationProps } from './TextTransformationProps';
import { Value } from '../../../cloudformation/Value';
import { FieldToMatchProps } from './FieldToMatchProps';
/**
  A rule statement used to search web request components for a match against a single regular expression.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-regexmatchstatement.html">the AWS Docs</a>
*/
export interface RegexMatchStatementProps {
    /** <code>TextTransformations</code>  <a name="cfn-wafv2-webacl-regexmatchstatement-texttransformations"></a>
  Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by <code>FieldToMatch</code>, starting from the lowest priority setting, before inspecting the content for a match.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    textTransformations: TextTransformationProps[];
    /** <code>RegexString</code>  <a name="cfn-wafv2-webacl-regexmatchstatement-regexstring"></a>
  The string representing the regular expression.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>512</code><br />
  
  Pattern: <code>.*</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    regexString: Value<string>;
    /** <code>FieldToMatch</code>  <a name="cfn-wafv2-webacl-regexmatchstatement-fieldtomatch"></a>
  The part of the web request that you want AWS WAF to inspect.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    fieldToMatch: FieldToMatchProps;
}
