Skip to main content

web_acl_for_resources

Creates, updates, deletes, gets or lists a web_acl_for_resources resource.

Overview

Nameweb_acl_for_resources
TypeResource
Idaws.waf_regional.web_acl_for_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringA friendly name or description of the WebACL. You can't change the name of a WebACL after you create it. (pattern: <code>.\S.</code>)
web_acl_idstringA unique identifier for a WebACL. You use WebACLId to get information about a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and delete a WebACL from AWS WAF (see DeleteWebACL). WebACLId is returned by CreateWebACL and by ListWebACLs. (pattern: <code>.\S.</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_web_acl_for_resourceselectregionThis is AWS WAF Classic Regional documentation. For more information, see AWS WAF Classic in the developer guide. For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use. Returns the web ACL for the specified resource, either an application load balancer or Amazon API Gateway stage.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

This is AWS WAF Classic Regional documentation. For more information, see AWS WAF Classic in the developer guide. For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use. Returns the web ACL for the specified resource, either an application load balancer or Amazon API Gateway stage.

SELECT
name,
web_acl_id
FROM aws.waf_regional.web_acl_for_resources
WHERE region = '{{ region }}' -- required
;