import { Value } from '../../../cloudformation/Value';
/**
  Configures inspection of the response status code. 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-responseinspectionstatuscode.html">the AWS Docs</a>
*/
export interface ResponseInspectionStatusCodeProps {
    /** <code>SuccessCodes</code>  <a name="cfn-wafv2-webacl-responseinspectionstatuscode-successcodes"></a>
  Status codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes.<br />
  JSON example: <code>&quot;SuccessCodes&quot;: [ 200, 201 ]</code><br />
  
  Required: Yes<br />
  
  Maximum: <code>10</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> */
    successCodes: Value<Value<number>[]>;
    /** <code>FailureCodes</code>  <a name="cfn-wafv2-webacl-responseinspectionstatuscode-failurecodes"></a>
  Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.<br />
  JSON example: <code>&quot;FailureCodes&quot;: [ 400, 404 ]</code><br />
  
  Required: Yes<br />
  
  Maximum: <code>10</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> */
    failureCodes: Value<Value<number>[]>;
}
