Module Values.AwsWafv2WebAclActionDetailsSource

Specifies the action that Amazon CloudFront or WAF takes when a web request matches the conditions in the rule.

Sourcetype nonrec t = {
  1. allow : AwsWafv2ActionAllowDetails.t option;
    (*

    Specifies that WAF should allow requests by default.

    *)
  2. block : AwsWafv2ActionBlockDetails.t option;
    (*

    Specifies that WAF should block requests by default.

    *)
}
Sourceval make : ?allow:??? -> ?block:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `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 ]
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