Data Source: awsWafv2IpSet
Retrieves the summary of a WAFv2 IP Set.
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.dataAwsWafv2IpSet.DataAwsWafv2IpSet(this, "example", {
name: "some-ip-set",
scope: "REGIONAL",
});
Argument Reference
The following arguments are supported:
name
- (Required) Name of the WAFv2 IP Set.scope
- (Required) Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values arecloudfront
orregional
. To work with CloudFront, you must also specify the regionusEast1
(N. Virginia) on the AWS provider.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
addresses
- An array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation.arn
- ARN of the entity.description
- Description of the set that helps with identification.id
- Unique identifier for the set.ipAddressVersion
- IP address version of the set.