aws::wafv2-ip-set

Creates an ip set.

Example

aws::wafv2-ip-set ip-set-example-ipv4
    name: "ip-set-example-ipv4"
    description: "ip-set-example-ipv4-desc"
    scope: "REGIONAL"
    ip-address-version: "IPV4"
    addresses: [
        "10.0.0.0/32",
        "20.0.0.0/32"
    ]
end

Attributes

Attribute Description
scope

The scope where the resource is going to be created.

Resources can only use and associate with other similar scoped resources. Valid values are CLOUDFRONT or REGIONAL. (Required)

tags map The tags associated with the resources.
name The name of the ip set. (Required)
ip-address-version The ip address version. Valid values are IPV4 or IPV6. (Required)
description The description of the ip set.
addresses set The set of ip address to filter the requests on. (Required)

Outputs

Attribute Description
id The id of the ip set.
arn The arn of the ip set.