access-analyzer:CheckNoPublicAccess

Read

access-analyzer:CheckNoPublicAccess is a Read access-level action in the access-analyzer service. Grants permission to check that public access is not allowed by a resource policy

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows access-analyzer:CheckNoPublicAccess. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAccessanalyzerCheckNoPublicAccess",
      "Effect": "Allow",
      "Action": "access-analyzer:CheckNoPublicAccess",
      "Resource": "*"
    }
  ]
}

Related actions in access-analyzer

View all access-analyzer actions →