You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: aws/waf/variables.tf
+7-4
Original file line number
Diff line number
Diff line change
@@ -46,10 +46,13 @@ variable "rate_limit_rules" {
46
46
variable"header_match_rules" {
47
47
description="Rule statement to inspect and match the header for an incoming request."
48
48
type=map(object({
49
-
name =string# Name of the header match rule group
50
-
priority =number# Relative processing order for header match rule relative to other rules processed by AWS WAF.
51
-
header_name =string# This is the name of the header to inspect for all incoming requests.
52
-
header_value =string# This is the value to look out for a matching header name for all incoming requests
49
+
name =string# Name of the header match rule group
50
+
priority =number# Relative processing order for header match rule relative to other rules processed by AWS WAF.
51
+
header_values =map(object({ # Header values contains a map of headers to inspect. You can provide multiple headers and values, all headers will be inspected together with `AND` logic.
52
+
header_name =string# This is the name of the header to inspect for all incoming requests.
53
+
header_value =string# This is the value to look out for a matching header name for all incoming requests
54
+
not_statement =optional(bool, false) # This indicates if the result this header match should be negated. The negated result will be joined with other header match results using `AND` logic if more than 1 header is provided.
55
+
}))
53
56
count_override =optional(bool, true) # If true, this will override the rule action setting to `count`, if false, the rule action will be set to `block`. Default value is false.
0 commit comments