Module Values.AwsWafv2VisibilityConfigDetailsSource

Defines and enables Amazon CloudWatch metrics and web request sample collection.

Sourcetype nonrec t = {
  1. cloudWatchMetricsEnabled : Boolean.t option;
    (*

    A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. For the list of available metrics, see WAF metrics and dimensions in the WAF Developer Guide.

    *)
  2. metricName : NonEmptyString.t option;
    (*

    A name of the Amazon CloudWatch metric.

    *)
  3. sampledRequestsEnabled : Boolean.t option;
    (*

    A boolean indicating whether WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the WAF console.

    *)
}
Sourceval make : ?cloudWatchMetricsEnabled:??? -> ?metricName:??? -> ?sampledRequestsEnabled:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of NonEmptyString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t