import { Value } from '../../../cloudformation/Value';
import { ResponseInspectionProps } from './ResponseInspectionProps';
import { RequestInspectionACFPProps } from './RequestInspectionACFPProps';
/**
  Details for your use of the account creation fraud prevention managed rule group, <code>AWSManagedRulesACFPRuleSet</code>. This configuration is used in <code>ManagedRuleGroupConfig</code>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-awsmanagedrulesacfpruleset.html">the AWS Docs</a>
*/
export interface AWSManagedRulesACFPRuleSetProps {
    /** <code>RegistrationPagePath</code>  <a name="cfn-wafv2-webacl-awsmanagedrulesacfpruleset-registrationpagepath"></a>
  The path of the account registration endpoint for your application. This is the page on your website that presents the registration form to new users.<br />
  This page must accept <code>GET</code> text/html requests.
  For example, for the URL <code>https://example.com/web/registration</code>, you would provide the path <code>/web/registration</code>. Registration page paths that start with the path that you provide are considered a match. For example <code>/web/registration</code> matches the registration paths <code>/web/registration</code>, <code>/web/registration/</code>, <code>/web/registrationPage</code>, and <code>/web/registration/thisPage</code>, but doesn’t match the path <code>/home/web/registration</code> or <code>/website/registration</code>.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>256</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> */
    registrationPagePath: Value<string>;
    /** <code>ResponseInspection</code>  <a name="cfn-wafv2-webacl-awsmanagedrulesacfpruleset-responseinspection"></a>
  The criteria for inspecting responses to account creation requests, used by the ACFP rule group to track account creation success rates.<br />
  Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
  The ACFP rule group evaluates the responses that your protected resources send back to client account creation attempts, keeping count of successful and failed attempts from each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many successful account creation attempts in a short amount of time.<br />
  
  Required: No<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> */
    responseInspection?: ResponseInspectionProps;
    /** <code>CreationPath</code>  <a name="cfn-wafv2-webacl-awsmanagedrulesacfpruleset-creationpath"></a>
  The path of the account creation endpoint for your application. This is the page on your website that accepts the completed registration form for a new user. This page must accept <code>POST</code> requests.<br />
  For example, for the URL <code>https://example.com/web/newaccount</code>, you would provide the path <code>/web/newaccount</code>. Account creation page paths that start with the path that you provide are considered a match. For example <code>/web/newaccount</code> matches the account creation paths <code>/web/newaccount</code>, <code>/web/newaccount/</code>, <code>/web/newaccountPage</code>, and <code>/web/newaccount/thisPage</code>, but doesn’t match the path <code>/home/web/newaccount</code> or <code>/website/newaccount</code>.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>256</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> */
    creationPath: Value<string>;
    /** <code>EnableRegexInPath</code>  <a name="cfn-wafv2-webacl-awsmanagedrulesacfpruleset-enableregexinpath"></a>
  Allow the use of regular expressions in the registration page path and the account creation path.<br />
  
  Required: No<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> */
    enableRegexInPath?: Value<boolean>;
    /** <code>RequestInspection</code>  <a name="cfn-wafv2-webacl-awsmanagedrulesacfpruleset-requestinspection"></a>
  The criteria for inspecting account creation requests, used by the ACFP rule group to validate and track account creation attempts.<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> */
    requestInspection: RequestInspectionACFPProps;
}
