import { ForwardedIPConfigurationProps } from './ForwardedIPConfigurationProps';
import { Value } from '../../../cloudformation/Value';
/**
  A rule statement that labels web requests by country and region and that matches against web requests based on country code. A geo match rule labels every request that it inspects regardless of whether it finds a match.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-geomatchstatement.html">the AWS Docs</a>
*/
export interface GeoMatchStatementProps {
    /** <code>ForwardedIPConfig</code>  <a name="cfn-wafv2-rulegroup-geomatchstatement-forwardedipconfig"></a>
  The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that’s reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.<br />
  If the specified header isn’t present in the request, AWS WAF doesn’t apply the rule to the web request at all.
  
  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> */
    forwardedIPConfig?: ForwardedIPConfigurationProps;
    /** <code>CountryCodes</code>  <a name="cfn-wafv2-rulegroup-geomatchstatement-countrycodes"></a>
  An array of two-character country codes that you want to match against, for example, <code>[ &quot;US&quot;, &quot;CN&quot; ]</code>, from the alpha-2 country ISO codes of the ISO 3166 international standard.<br />
  When you use a geo match statement just for the region and country labels that it adds to requests, you still have to supply a country code for the rule to evaluate. In this case, you configure the rule to only count matching requests, but it will still generate logging and count metrics for any matches. You can reduce the logging and metrics that the rule produces by specifying a country that’s unlikely to be a source of traffic to your site.<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> */
    countryCodes?: Value<Value<string>[]>;
}
