Module Values.AwsWafv2RulesDetailsSource

Provides details about rules in a rule group. A rule identifies web requests that you want to allow, block, or count. Each rule includes one top-level Statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.

Sourcetype nonrec t = {
  1. action : AwsWafv2RulesActionDetails.t option;
    (*

    The action that WAF should take on a web request when it matches the rule statement. Settings at the web ACL level can override the rule action setting.

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

    The name of the rule.

    *)
  3. overrideAction : NonEmptyString.t option;
    (*

    The action to use in the place of the action that results from the rule group evaluation.

    *)
  4. priority : Integer.t option;
    (*

    If you define more than one Rule in a WebACL, WAF evaluates each request against the Rules in order based on the value of Priority. WAF processes rules with lower priority first. The priorities don't need to be consecutive, but they must all be different.

    *)
  5. visibilityConfig : AwsWafv2VisibilityConfigDetails.t option;
    (*

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

    *)
}
Sourceval make : ?action:??? -> ?name:??? -> ?overrideAction:??? -> ?priority:??? -> ?visibilityConfig:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `String of NonEmptyString.t | `Structure of (string * [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `String of NonEmptyString.t ]) list ] list | `String of NonEmptyString.t ]) list ]) list ]) list ]) 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