waf-regional:AssociateWebACL

Write

waf-regional:AssociateWebACL is a Write access-level action in the waf-regional service. Grants permission to associate a web ACL with a resource

Resource types

ARNs that waf-regional:AssociateWebACL can be scoped to in an IAM policy.

arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/app/${LoadBalancerName}/${LoadBalancerId}
loadbalancer/app/
arn:${Partition}:waf-regional:${Region}:${Account}:webacl/${Id}
webacl

Condition keys

Keys you can use in the Condition block of a policy that grants waf-regional:AssociateWebACL.

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value assoicated with the resource

Example IAM policy

A minimal policy that allows waf-regional:AssociateWebACL. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWafregionalAssociateWebACL",
      "Effect": "Allow",
      "Action": "waf-regional:AssociateWebACL",
      "Resource": "*"
    }
  ]
}

Related actions in waf-regional

View all waf-regional actions →