Skip to content

/AWS1/CL_WA2=>LISTRESOURCESFORWEBACL()

About ListResourcesForWebACL

Retrieves an array of the Amazon Resource Names (ARNs) for the regional 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.

Method Signature

IMPORTING

Required arguments:

IV_WEBACLARN TYPE /AWS1/WA2RESOURCEARN /AWS1/WA2RESOURCEARN

The Amazon Resource Name (ARN) of the web ACL.

Optional arguments:

IV_RESOURCETYPE TYPE /AWS1/WA2RESOURCETYPE /AWS1/WA2RESOURCETYPE

Used for web ACLs that are scoped for regional applications. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER.

Default: APPLICATION_LOAD_BALANCER

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WA2LSTRESRCSFORWEBA01 /AWS1/CL_WA2LSTRESRCSFORWEBA01