access-analyzer:GetArchiveRule is a Read access-level action in the access-analyzer service. Grants permission to retrieve information about archive rules for the specified analyzer
ARNs that access-analyzer:GetArchiveRule can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows access-analyzer:GetArchiveRule. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAccessanalyzerGetArchiveRule",
"Effect": "Allow",
"Action": "access-analyzer:GetArchiveRule",
"Resource": "*"
}
]
}