AWS WAF Regex Match Set
This page shows how to write Terraform for AWS WAF Regex Match Set and write them securely.
aws_waf_regex_match_set (Terraform)
The Regex Match Set in AWS WAF can be configured in Terraform with the resource name aws_waf_regex_match_set. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
main.tf#L7
resource "aws_waf_regex_match_set" "this" {
name = var.name
dynamic "regex_match_tuple" {
for_each = var.regex_match_tuple
content {
Parameters
-
arnoptional computed - string -
idoptional computed - string -
namerequired - string -
regex_match_tupleset block-
regex_pattern_set_idrequired - string -
text_transformationrequired - string -
field_to_matchlist block
-
Explanation in Terraform Registry
Provides a WAF Regex Match Set Resource
CloudFormation Example
CloudFormation code does not have the related resource.
Frequently asked questions
What is AWS WAF Regex Match Set?
AWS WAF Regex Match Set is a resource for WAF of Amazon Web Service. Settings can be wrote in Terraform.
Where can I find the example code for the AWS WAF Regex Match Set?
For Terraform, the niveklabs/aws source code example is useful. See the Terraform Example section for further details.