AWS WAFV2

2020/10/01 - AWS WAFV2 - 1 updated api methods

Changes  AWS WAF is now available for AWS AppSync GraphQL APIs. AWS WAF protects against malicious attacks with AWS Managed Rules or your own custom rules. For more information see the AWS WAF Developer Guide.

ListResourcesForWebACL (updated) Link ΒΆ
Changes (request)
{'ResourceType': {'APPSYNC'}}

Note

This is the latest version of AWS WAF , named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide.

Retrieves an array of the Amazon Resource Names (ARNs) for the regional resources that are associated with the specified web ACL. If you want the list of AWS CloudFront resources, use the AWS CloudFront call ListDistributionsByWebACLId .

See also: AWS API Documentation

Request Syntax

client.list_resources_for_web_acl(
    WebACLArn='string',
    ResourceType='APPLICATION_LOAD_BALANCER'|'API_GATEWAY'|'APPSYNC'
)
type WebACLArn

string

param WebACLArn

[REQUIRED]

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

type ResourceType

string

param ResourceType

Used for web ACLs that are scoped for regional applications. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.

rtype

dict

returns

Response Syntax

{
    'ResourceArns': [
        'string',
    ]
}

Response Structure

  • (dict) --

    • ResourceArns (list) --

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

      • (string) --