waf:PutLoggingConfiguration

Write

waf:PutLoggingConfiguration is a Write access-level action in the waf service. Grants permission to associate a LoggingConfiguration with a specified web ACL

Resource types

ARNs that waf:PutLoggingConfiguration can be scoped to in an IAM policy.

arn:${Partition}:waf::${Account}:webacl/${Id}
webacl

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value associated with the resource

Dependent actions

To use waf:PutLoggingConfiguration you may also need to grant:

Example IAM policy

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

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

Related actions in waf

View all waf actions →