Skip to main content

web_acls_list_only

Lists web_acls in a region or regions, for all properties use web_acls

Overview

Nameweb_acls_list_only
TypeResource
DescriptionContains the Rules that identify the requests that you want to allow, block, or count. In a WebACL, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a WebACL, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the WebACL with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a WebACL, a request needs to match only one of the specifications to be allowed, blocked, or counted.
Idaws.wafv2.web_acls_list_only

Fields

NameDatatypeDescription
arnstring
capacityinteger
default_actionobjectDefault Action WebACL will take against ingress traffic when there is no matching Rule.
descriptionstringDescription of the entity.
namestringName of the WebACL.
idstringId of the WebACL
scopestringUse CLOUDFRONT for CloudFront WebACL, use REGIONAL for Application Load Balancer and API Gateway.
rulesarrayCollection of Rules.
visibility_configobjectVisibility Metric of the WebACL.
tagsarray
label_namespacestringName of the Label.
custom_response_bodiesobjectCustom response key and body map.
captcha_configobject
challenge_configobject
token_domainsarrayList of domains to accept in web request tokens, in addition to the domain of the protected resource.
association_configobjectAssociationConfig for body inspection
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all web_acls in a region.

SELECT
region,
name,
id,
scope
FROM aws.wafv2.web_acls_list_only
;

Permissions

For permissions required to operate on the web_acls_list_only resource, see web_acls