Retrieves the summary of a WAFv2 Web ACL.
data "aws_wafv2_web_acl" "example" {
name = "some-web-acl"
scope = "REGIONAL"
}
This data source supports the following arguments:
name
- (Required) Name of the WAFv2 Web ACL.scope
- (Required) Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are CLOUDFRONT
or REGIONAL
. To work with CloudFront, you must also specify the region us-east-1
(N. Virginia) on the AWS provider.This data source exports the following attributes in addition to the arguments above:
arn
- ARN of the entity.description
- Description of the WebACL that helps with identification.id
- Unique identifier of the WebACL.