github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/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  # aws\_waf\_byte\_match\_set
    10  
    11  Provides a WAF Byte Match Set Resource
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "aws_waf_byte_match_set" "byte_set" {
    17    name = "tf_waf_byte_match_set"
    18  
    19    byte_match_tuples {
    20      text_transformation   = "NONE"
    21      target_string         = "badrefer1"
    22      positional_constraint = "CONTAINS"
    23  
    24      field_to_match {
    25        type = "HEADER"
    26        data = "referer"
    27      }
    28    }
    29  }
    30  ```
    31  
    32  ## Argument Reference
    33  
    34  The following arguments are supported:
    35  
    36  * `name` - (Required) The name or description of the ByteMatchSet.
    37  * `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.
    38  
    39  ## Remarks
    40  
    41  ## Attributes Reference
    42  
    43  The following attributes are exported:
    44  
    45  * `id` - The ID of the WAF ByteMatchSet.