Resource: awsWafIpset
Provides a WAF IPSet Resource
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.wafIpset.WafIpset(this, "ipset", {
ipSetDescriptors: [
{
type: "IPV4",
value: "192.0.7.0/24",
},
{
type: "IPV4",
value: "10.16.16.0/16",
},
],
name: "tfIPSet",
});
Argument Reference
The following arguments are supported:
name
- (Required) The name or description of the IPSet.ipSetDescriptors
- (Optional) One or more pairs specifying the IP address type (IPV4 or IPV6) and the IP address range (in CIDR format) from which web requests originate.
Nested Blocks
ipSetDescriptors
Arguments
type
- (Required) Type of the IP address -ipv4
oripv6
.value
- (Required) An IPv4 or IPv6 address specified via CIDR notationE.g.,1920244/32
or1111:0000:0000:0000:0000:0000:0000:0000/64
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- The ID of the WAF IPSet.arn
- The ARN of the WAF IPSet.
Import
WAF IPSets can be imported using their ID, e.g.,