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

github-iconniveklabs/aws
resource "aws_waf_regex_pattern_set" "this" {
  name                  = var.name
  regex_pattern_strings = var.regex_pattern_strings
}

Parameters

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.

security-icon

Scan your IaC problem in 3 minutes for free

You can keep your IaC security for free. No credit card required.