AWS WAF Regex Pattern Set
This page shows how to write Terraform for AWS WAF Regex Pattern Set and write them securely.
aws_waf_regex_pattern_set (Terraform)
The Regex Pattern Set in AWS WAF can be configured in Terraform with the resource name aws_waf_regex_pattern_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_pattern_set" "this" {
name = var.name
regex_pattern_strings = var.regex_pattern_strings
}
Parameters
-
arn
optional computed - string -
id
optional computed - string -
name
required - string -
regex_pattern_strings
optional - set of string
Explanation in Terraform Registry
Provides a WAF Regex Pattern Set Resource
CloudFormation Example
CloudFormation code does not have the related resource.
Frequently asked questions
What is AWS WAF Regex Pattern Set?
AWS WAF Regex Pattern 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 Pattern Set?
For Terraform, the niveklabs/aws source code example is useful. See the Terraform Example section for further details.