import { TextTransformationProps } from './TextTransformationProps';
import { FieldToMatchProps } from './FieldToMatchProps';
/**
  A rule statement that inspects for cross-site scripting (XSS) attacks. In XSS attacks, the attacker uses vulnerabilities in a benign website as a vehicle to inject malicious client-site scripts into other legitimate web browsers.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-xssmatchstatement.html">the AWS Docs</a>
*/
export interface XssMatchStatementProps {
    /** <code>TextTransformations</code>  <a name="cfn-wafv2-rulegroup-xssmatchstatement-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>FieldToMatch</code>  <a name="cfn-wafv2-rulegroup-xssmatchstatement-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;
}
