import { TextTransformationProps } from './TextTransformationProps';
import { Value } from '../../../cloudformation/Value';
import { FieldToMatchProps } from './FieldToMatchProps';
/**
  A rule statement used to search web request components for matches with regular expressions. To use this, create a <a href="aws-resource-wafv2-regexpatternset.md">AWS::WAFv2::RegexPatternSet</a> that specifies the expressions that you want to detect, then use that set in this statement. A web request matches the pattern set rule statement if the request component matches any of the patterns in the set.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-regexpatternsetreferencestatement.html">the AWS Docs</a>
*/
export interface RegexPatternSetReferenceStatementProps {
    /** <code>TextTransformations</code>  <a name="cfn-wafv2-webacl-regexpatternsetreferencestatement-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>Arn</code>  <a name="cfn-wafv2-webacl-regexpatternsetreferencestatement-arn"></a>
  The Amazon Resource Name (ARN) of the <a href="aws-resource-wafv2-regexpatternset.md">AWS::WAFv2::RegexPatternSet</a> that this statement references.<br />
  
  Required: Yes<br />
  
  Minimum: <code>20</code><br />
  
  Maximum: <code>2048</code><br />
  
  Pattern: <code>.*\S.*</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> */
    arn: Value<string>;
    /** <code>FieldToMatch</code>  <a name="cfn-wafv2-webacl-regexpatternsetreferencestatement-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;
}
