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