Resource: aws_wafregional_xss_match_set

Provides a WAF Regional XSS Match Set Resource for use with Application Load Balancer.

Example Usage

resource "aws_wafregional_xss_match_set" "xss_match_set" {
  name = "xss_match_set"

  xss_match_tuple {
    text_transformation = "NONE"

    field_to_match {
      type = "URI"
    }
  }

  xss_match_tuple {
    text_transformation = "NONE"

    field_to_match {
      type = "QUERY_STRING"
    }
  }
}

Argument Reference

This resource supports the following arguments:

Nested fields

xss_match_tuple

field_to_match

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import AWS WAF Regional XSS Match using the id. For example:

import {
  to = aws_wafregional_xss_match_set.example
  id = "12345abcde"
}

Using terraform import, import AWS WAF Regional XSS Match using the id. For example:

% terraform import aws_wafregional_xss_match_set.example 12345abcde