resources_for_web_acls
Creates, updates, deletes, gets or lists a resources_for_web_acls resource.
Overview
| Name | resources_for_web_acls |
| Type | Resource |
| Id | aws.wafv2.resources_for_web_acls |
Fields
The following fields are returned by SELECT queries:
- list_resources_for_web_acl
| Name | Datatype | Description |
|---|---|---|
resource_arn | string | The array of Amazon Resource Names (ARNs) of the associated resources. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_resources_for_web_acl | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_resources_for_web_acl
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
;