github.com/minamijoyo/terraform@v0.7.8-0.20161029001309-18b3736ba44b/website/source/docs/providers/aws/r/waf_byte_match_set.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: waf_byte_match_set"
     4  sidebar_current: "docs-aws-resource-waf-bytematchset"
     5  description: |-
     6    Provides a AWS WAF ByteMatchSet resource.
     7  ---
     8  
     9  ## Example Usage
    10  
    11  ```
    12  resource "aws_waf_byte_match_set" "byte_set" {
    13    name = "tf_waf_byte_match_set"
    14    byte_match_tuples {
    15      text_transformation = "NONE"
    16      target_string = "badrefer1"
    17      positional_constraint = "CONTAINS"
    18      field_to_match {
    19        type = "HEADER"
    20        data = "referer"
    21      }
    22    }
    23  }
    24  ```
    25  
    26  ## Argument Reference
    27  
    28  The following arguments are supported:
    29  
    30  * `name` - (Required) The name or description of the ByteMatchSet.
    31  * `byte_match_tuples` - Settings for the ByteMatchSet, such as the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests. 
    32  
    33  ## Remarks
    34  
    35  ## Attributes Reference
    36  
    37  The following attributes are exported:
    38  
    39  * `id` - The ID of the WAF ByteMatchSet.