Skip to main content

resources_for_web_acls

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

Overview

Nameresources_for_web_acls
TypeResource
Idaws.wafv2.resources_for_web_acls

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
resource_arnstringThe array of Amazon Resource Names (ARNs) of the associated resources.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_resources_for_web_aclselectregionRetrieves an array of the Amazon Resource Names (ARNs) for the resources that are associated with the specified web ACL. For Amazon CloudFront, don't use this call. Instead, use the CloudFront call ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId in the Amazon CloudFront API Reference. Required permissions for customer-managed IAM policies This call requires permissions that are specific to the protected resource type. For details, see Permissions for ListResourcesForWebACL in the WAF Developer Guide.

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

Retrieves an array of the Amazon Resource Names (ARNs) for the resources that are associated with the specified web ACL. For Amazon CloudFront, don't use this call. Instead, use the CloudFront call ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId in the Amazon CloudFront API Reference. Required permissions for customer-managed IAM policies This call requires permissions that are specific to the protected resource type. For details, see Permissions for ListResourcesForWebACL in the WAF Developer Guide.

SELECT
resource_arn
FROM aws.wafv2.resources_for_web_acls
WHERE region = '{{ region }}' -- required
;