wafv2:CheckCapacity is a Read access-level action in the wafv2 service. Grants permission to calculate web ACL capacity unit (WCU) requirements for a specified scope and set of rules
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows wafv2:CheckCapacity. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowWafv2CheckCapacity",
"Effect": "Allow",
"Action": "wafv2:CheckCapacity",
"Resource": "*"
}
]
}