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
description="Rule statement to inspect and match the header for an incoming request."
3
+
type=map(object({
4
+
name =string# Name of the header match rule group
5
+
priority =number# Relative processing order for header match rule relative to other rules processed by AWS WAF.
6
+
header_name =string# This is the name of the header to inspect for all incoming requests.
7
+
header_value =string# This is the value to look out for a matching header name for all incoming requests
8
+
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.
9
+
country_list =optional(list(string), []) # List of countries to apply the header match to. If populated, from other countries will be ignored by this rule. IF empty, the rule will apply to all traffic. You must either specify country_list or exempt_country_list, but not both.
10
+
exempt_country_list =optional(list(string), []) # List of countries to exempt from the header match rule. If populated, the selected countries will be ignored by this rule. IF empty, the rule will apply to all traffic. You must either specify country_list or exempt_country_list, but not both.
Copy file name to clipboardexpand all lines: aws/waf/variables.tf
+9-7
Original file line number
Diff line number
Diff line change
@@ -46,14 +46,16 @@ 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 =optional(string, "default-header-rule")# Name of the header match rule group
50
-
priority =optional(number, 99)# Relative processing order for header match rule relative to other rules processed by AWS WAF.
51
-
header_name =optional(string, "null")# This is the name of the header to inspect for all incoming requests.
52
-
header_value =optional(string, "null")# This is the value to look out for a matching header name for all incoming requests
53
-
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.
54
-
country_list =optional(list(string), []) # List of countries to apply the header match to. If populated, from other countries will be ignored by this rule. IF empty, the rule will apply to all traffic. You must either specify country_list or exempt_country_list, but not both.
55
-
exempt_country_list =optional(list(string), []) # List of countries to exempt from the header match rule. If populated, the selected countries will be ignored by this rule. IF empty, the rule will apply to all traffic. You must either specify country_list or exempt_country_list, but not both.
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
53
+
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.
54
+
country_list =optional(list(string), []) # List of countries to apply the header match to. If populated, from other countries will be ignored by this rule. IF empty, the rule will apply to all traffic. You must either specify country_list or exempt_country_list, but not both.
55
+
exempt_country_list =optional(list(string), []) # List of countries to exempt from the header match rule. If populated, the selected countries will be ignored by this rule. IF empty, the rule will apply to all traffic. You must either specify country_list or exempt_country_list, but not both.
0 commit comments