github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/providers/aws/r/waf_xss_match_set.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: waf_xss_match_set"
     4  sidebar_current: "docs-aws-resource-waf-xss-match-set"
     5  description: |-
     6    Provides a AWS WAF XssMatchSet resource.
     7  ---
     8  
     9  # aws\_waf\_xss\_match\_set
    10  
    11  Provides a WAF XSS Match Set Resource
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "aws_waf_xss_match_set" "xss_match_set" {
    17    name = "xss_match_set"
    18  
    19    xss_match_tuples {
    20      text_transformation = "NONE"
    21  
    22      field_to_match {
    23        type = "URI"
    24      }
    25    }
    26  
    27    xss_match_tuples {
    28      text_transformation = "NONE"
    29  
    30      field_to_match {
    31        type = "QUERY_STRING"
    32      }
    33    }
    34  }
    35  ```
    36  
    37  ## Argument Reference
    38  
    39  The following arguments are supported:
    40  
    41  * `name` - (Required) The name or description of the SizeConstraintSet.
    42  * `xss_match_tuples` - The parts of web requests that you want to inspect for cross-site scripting attacks.
    43  
    44  ## Remarks
    45  
    46  ## Attributes Reference
    47  
    48  The following attributes are exported:
    49  
    50  * `id` - The ID of the WAF XssMatchSet.