github.com/ves/terraform@v0.8.0-beta2/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 ``` 16 resource "aws_waf_byte_match_set" "byte_set" { 17 name = "tf_waf_byte_match_set" 18 byte_match_tuples { 19 text_transformation = "NONE" 20 target_string = "badrefer1" 21 positional_constraint = "CONTAINS" 22 field_to_match { 23 type = "HEADER" 24 data = "referer" 25 } 26 } 27 } 28 ``` 29 30 ## Argument Reference 31 32 The following arguments are supported: 33 34 * `name` - (Required) The name or description of the ByteMatchSet. 35 * `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. 36 37 ## Remarks 38 39 ## Attributes Reference 40 41 The following attributes are exported: 42 43 * `id` - The ID of the WAF ByteMatchSet.