import { Value } from '../../../cloudformation/Value';
/**
  Defines and enables Amazon CloudWatch metrics and web request sample collection.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-visibilityconfig.html">the AWS Docs</a>
*/
export interface VisibilityConfigProps {
    /** <code>MetricName</code>  <a name="cfn-wafv2-rulegroup-visibilityconfig-metricname"></a>
  A name of the Amazon CloudWatch metric dimension. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can’t contain whitespace or metric names that are reserved for AWS WAF, for example <code>All</code> and <code>Default_Action</code>.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>255</code><br />
  
  Pattern: <code>^[\w#:\.\-/]+$</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> */
    metricName: Value<string>;
    /** <code>SampledRequestsEnabled</code>  <a name="cfn-wafv2-rulegroup-visibilityconfig-sampledrequestsenabled"></a>
  Indicates whether AWS WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the AWS WAF console.<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> */
    sampledRequestsEnabled: Value<boolean>;
    /** <code>CloudWatchMetricsEnabled</code>  <a name="cfn-wafv2-rulegroup-visibilityconfig-cloudwatchmetricsenabled"></a>
  Indicates whether the associated resource sends metrics to Amazon CloudWatch. For the list of available metrics, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#waf-metrics">AWS WAF Metrics</a> in the * AWS WAF Developer Guide*.<br />
  For web ACLs, the metrics are for web requests that have the web ACL default action applied. AWS WAF applies the default action to web requests that pass the inspection of all rules in the web ACL without being either allowed or blocked. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/web-acl-default-action.html">The web ACL default action</a> in the * AWS WAF Developer Guide*.<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> */
    cloudWatchMetricsEnabled: Value<boolean>;
}
