import { Value } from '../../../cloudformation/Value';
/**
  Configures inspection of the response JSON. AWS WAF can inspect the first 65,536 bytes (64 KB) of the response JSON. This is part of the <code>ResponseInspection</code> configuration for <code>AWSManagedRulesATPRuleSet</code> and <code>AWSManagedRulesACFPRuleSet</code>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-responseinspectionjson.html">the AWS Docs</a>
*/
export interface ResponseInspectionJsonProps {
    /** <code>Identifier</code>  <a name="cfn-wafv2-webacl-responseinspectionjson-identifier"></a>
  The identifier for the value to match against in the JSON. The identifier must be an exact match, including case.<br />
  JSON examples: <code>&quot;Identifier&quot;: [ &quot;/login/success&quot; ]</code> and <code>&quot;Identifier&quot;: [ &quot;/sign-up/success&quot; ]</code><br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>512</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> */
    identifier: Value<string>;
    /** <code>SuccessValues</code>  <a name="cfn-wafv2-webacl-responseinspectionjson-successvalues"></a>
  Values for the specified identifier in the response JSON that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.<br />
  JSON example: <code>&quot;SuccessValues&quot;: [ &quot;True&quot;, &quot;Succeeded&quot; ]</code><br />
  
  Required: Yes<br />
  
  Maximum: <code>5</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> */
    successValues: Value<Value<string>[]>;
    /** <code>FailureValues</code>  <a name="cfn-wafv2-webacl-responseinspectionjson-failurevalues"></a>
  Values for the specified identifier in the response JSON that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.<br />
  JSON example: <code>&quot;FailureValues&quot;: [ &quot;False&quot;, &quot;Failed&quot; ]</code><br />
  
  Required: Yes<br />
  
  Maximum: <code>5</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> */
    failureValues: Value<Value<string>[]>;
}
