access-analyzer:ListArchiveRules

List

access-analyzer:ListArchiveRules is a List access-level action in the access-analyzer service. Grants permission to retrieve a list of archive rules from an analyzer

Resource types

ARNs that access-analyzer:ListArchiveRules can be scoped to in an IAM policy.

arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}
Analyzer

Condition keys

Keys you can use in the Condition block of a policy that grants access-analyzer:ListArchiveRules.

aws:ResourceTag/${TagKey} String

Filters actions based on tag key-value pairs attached to the resource

Example IAM policy

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

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

Related actions in access-analyzer

View all access-analyzer actions →