github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/aws/r/waf_ipset.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: waf_ipset"
     4  sidebar_current: "docs-aws-resource-waf-ipset"
     5  description: |-
     6    Provides a AWS WAF IPSet resource.
     7  ---
     8  
     9  # aws\_waf\_ipset
    10  
    11  Provides a WAF IPSet Resource
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "aws_waf_ipset" "ipset" {
    17    name = "tfIPSet"
    18  
    19    ip_set_descriptors {
    20      type  = "IPV4"
    21      value = "192.0.7.0/24"
    22    }
    23  }
    24  ```
    25  
    26  ## Argument Reference
    27  
    28  The following arguments are supported:
    29  
    30  * `name` - (Required) The name or description of the IPSet.
    31  * `ip_set_descriptors` - (Optional) Specifies the IP address type (IPV4 or IPV6)
    32  	and the IP address range (in CIDR format) that web requests originate from.
    33  
    34  ## Nested Blocks
    35  
    36  ### `ip_set_descriptors`
    37  
    38  #### Arguments
    39  
    40  * `type` - (Required) Type of the IP address - `IPV4` or `IPV6`.
    41  * `value` - (Required) An IPv4 or IPv6 address specified via CIDR notation.
    42  	e.g. `192.0.2.44/32` or `1111:0000:0000:0000:0000:0000:0000:0000/64`
    43  
    44  ## Remarks
    45  
    46  ## Attributes Reference
    47  
    48  The following attributes are exported:
    49  
    50  * `id` - The ID of the WAF IPSet.