execute-api:InvalidateCache

Write

execute-api:InvalidateCache is a Write access-level action in the execute-api service. Grants permission to invalidate API cache upon a client request

Resource types

ARNs that execute-api:InvalidateCache can be scoped to in an IAM policy.

arn:${Partition}:execute-api:${Region}:${Account}:${ApiId}/${Stage}/${Method}/${ApiSpecificResourcePath}
execute-api-general

Condition keys

Keys you can use in the Condition block of a policy that grants execute-api:InvalidateCache.

execute-api:viaDomainArn ARN

Filters access by the DomainName ARN the API is called from

Example IAM policy

A minimal policy that allows execute-api:InvalidateCache. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowExecuteapiInvalidateCache",
      "Effect": "Allow",
      "Action": "execute-api:InvalidateCache",
      "Resource": "*"
    }
  ]
}

Related actions in execute-api

View all execute-api actions →