WAFv2.LoggingConfiguration
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-loggingconfiguration.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-singleheader.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-actioncondition.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-labelnamecondition.html
and field_to_match = {
query_string : Yojson.Safe.t option;
uri_path : Yojson.Safe.t option;
method_ : Yojson.Safe.t option;
single_header : single_header option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-fieldtomatch.html
and condition = {
label_name_condition : label_name_condition option;
action_condition : action_condition option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-condition.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-filter.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-loggingfilter.html
type properties = {
resource_arn : string;
log_destination_configs : string list;
redacted_fields : field_to_match list option;
logging_filter : logging_filter option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-loggingconfiguration.html;
val make_properties :
resource_arn:string ->
log_destination_configs:string list ->
?redacted_fields:field_to_match list ->
?logging_filter:logging_filter ->
unit ->
properties
val make_single_header : name:string -> unit -> single_header
val make_action_condition : action:string -> unit -> action_condition
val make_label_name_condition :
label_name:string ->
unit ->
label_name_condition
val make_field_to_match :
?query_string:Yojson.Safe.t ->
?uri_path:Yojson.Safe.t ->
?method_:Yojson.Safe.t ->
?single_header:single_header ->
unit ->
field_to_match
val make_condition :
?label_name_condition:label_name_condition ->
?action_condition:action_condition ->
unit ->
condition
val make_logging_filter :
filters:filter list ->
default_behavior:string ->
unit ->
logging_filter
val yojson_of_single_header : single_header -> Yojson.Safe.t
val yojson_of_action_condition : action_condition -> Yojson.Safe.t
val yojson_of_label_name_condition : label_name_condition -> Yojson.Safe.t
val yojson_of_field_to_match :
field_to_match ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_condition : condition -> Yojson.Safe.t
val yojson_of_filter : filter -> Yojson.Safe.t
val yojson_of_logging_filter :
logging_filter ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes