2026/12/01 - AWS WAFV2 - 1 updated api methods
Changes AWS WAFv2 added support for associating AWS WAFv2 web ACLs with AWS Amplify Gen 3 apps. You can now use AssociateWebACL, DisassociateWebACL, GetWebACLForResource, and ListResourcesForWebACL to protect your Amplify Gen 3 apps with AWS WAFv2.
{'ResourceType': {'AMPLIFY_GEN_3'}}
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.
See also: AWS API Documentation
Request Syntax
client.list_resources_for_web_acl(
WebACLArn='string',
ResourceType='APPLICATION_LOAD_BALANCER'|'API_GATEWAY'|'APPSYNC'|'COGNITO_USER_POOL'|'APP_RUNNER_SERVICE'|'VERIFIED_ACCESS_INSTANCE'|'AMPLIFY'|'AMPLIFY_GEN_3'|'ELB_PROXY'|'AGENTCORE_GATEWAY'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the web ACL.
string
Retrieves the web ACLs that are used by the specified resource type.
For Amazon CloudFront, don't use this call. Instead, use the CloudFront call ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId in the Amazon CloudFront API Reference.
Default: APPLICATION_LOAD_BALANCER
dict
Response Syntax
{
'ResourceArns': [
'string',
]
}
Response Structure
(dict) --
ResourceArns (list) --
The array of Amazon Resource Names (ARNs) of the associated resources.
(string) --