Module WAF.Rule

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-rule.html

type predicate = {
  1. data_id : string;
  2. negated : bool;
  3. type_ : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-rule-predicates.html

type properties = {
  1. metric_name : string;
  2. name : string;
  3. predicates : predicate list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-rule.html;

val make_properties : metric_name:string -> name:string -> ?predicates:predicate list -> unit -> properties
val make_predicate : data_id:string -> negated:bool -> type_:string -> unit -> predicate
val yojson_of_predicate : predicate -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string