Associates a web ACL with a resource, either an application load balancer or Amazon API Gateway stage.
wafregional_associate_web_acl(WebACLId, ResourceArn)
[required] A unique identifier (ID) for the web ACL.
[required] The ARN (Amazon Resource Name) of the resource to be protected, either an application load balancer or Amazon API Gateway stage.
The ARN should be in one of the following formats:
For an Application Load Balancer:
arn:aws:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i>
For an Amazon API Gateway stage:
arn:aws:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i>
svc$associate_web_acl( WebACLId = "string", ResourceArn = "string" )