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
| <aname="input_name"></a> [name](#input\_name)| Friendly name of the rule. |`string`| n/a | yes |
56
+
| <aname="input_rate_limit_positional_constraint"></a> [rate\_limit\_positional\_constraint](#input\_rate\_limit\_positional\_constraint)| The area within the portion of a web request that you want AWS WAF to search for rate limiting headers. Valid values: EXACTLY, STARTS\_WITH, ENDS\_WITH, CONTAINS, and CONTAINS\_WORD. The default value is EXACTLY. |`string`|`"STARTS_WITH"`| no |
57
+
| <aname="input_rate_limit_search_string"></a> [rate\_limit\_search\_string](#input\_rate\_limit\_search\_string)| String value that you want AWS WAF to search for. AWS WAF searches only in the part of web requests that you designate for inspection in field\_to\_match. The maximum length of the value is 50 bytes. |`string`|`"/api"`| no |
56
58
| <aname="input_resource_arn"></a> [resource\_arn](#input\_resource\_arn)| The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. |`string`| n/a | yes |
57
59
| <aname="input_tags"></a> [tags](#input\_tags)| Tags to add to the Resources. |`map(any)`|`{}`| no |
Copy file name to clipboardExpand all lines: variables.tf
+12
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,18 @@ variable "name" {
11
11
type=string
12
12
}
13
13
14
+
variable"rate_limit_positional_constraint" {
15
+
description="The area within the portion of a web request that you want AWS WAF to search for rate limiting headers. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, and CONTAINS_WORD. The default value is EXACTLY."
16
+
default="STARTS_WITH"
17
+
type=string
18
+
}
19
+
20
+
variable"rate_limit_search_string" {
21
+
description="String value that you want AWS WAF to search for. AWS WAF searches only in the part of web requests that you designate for inspection in field_to_match. The maximum length of the value is 50 bytes."
22
+
default="/api"
23
+
type=string
24
+
}
25
+
14
26
variable"resource_arn" {
15
27
description="The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool."
0 commit comments