Class WebAclVisibilityConfig


  • public final class WebAclVisibilityConfig
    extends java.lang.Object
    • Method Detail

      • cloudwatchMetricsEnabled

        public java.lang.Boolean cloudwatchMetricsEnabled()
        Returns:
        Whether the associated resource sends metrics to CloudWatch. For the list of available metrics, see [AWS WAF Metrics](https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#waf-metrics).
      • metricName

        public java.lang.String metricName()
        Returns:
        Friendly name of the CloudWatch metric. The name can contain only alphanumeric characters (A-Z, a-z, 0-9) hyphen(-) and underscore (\_), with length from one to 128 characters. It can't contain whitespace or metric names reserved for AWS WAF, for example `All` and `Default_Action`.
      • sampledRequestsEnabled

        public java.lang.Boolean sampledRequestsEnabled()
        Returns:
        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.