codebuild:InvalidateProjectCache is a Write access-level action in the codebuild service. Grants permission to reset the cache for a project
ARNs that codebuild:InvalidateProjectCache can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants codebuild:InvalidateProjectCache.
Filters access by actions based on tag key-value pairs attached to the resource
A minimal policy that allows codebuild:InvalidateProjectCache. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodebuildInvalidateProjectCache",
"Effect": "Allow",
"Action": "codebuild:InvalidateProjectCache",
"Resource": "*"
}
]
}