Actions, resources, and condition keys for Amazon IAM Access Analyzer
Amazon IAM Access Analyzer (service prefix: access-analyzer) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by Amazon IAM Access Analyzer
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
ApplyArchiveRule |
Write |
|||
|
CancelPolicyGeneration |
Write |
|||
|
CheckAccessNotGranted |
Read |
|||
|
CheckNoNewAccess |
Read |
|||
|
CheckNoPublicAccess |
Read |
|||
|
CreateAccessPreview |
Write |
|||
|
CreateAnalyzer |
Write |
|||
Tagging, Write |
||||
|
CreateArchiveRule |
Write |
|||
|
CreateServiceLinkedAnalyzer |
Write |
|||
|
DeleteAnalyzer |
Write |
|||
|
DeleteArchiveRule |
Write |
|||
|
DeleteServiceLinkedAnalyzer |
Write |
|||
|
GenerateFindingRecommendation |
Write |
|||
|
GetAccessPreview |
Read |
|||
|
GetAnalyzedResource |
Read |
|||
|
GetAnalyzer |
Read |
|||
|
GetArchiveRule |
Read |
|||
|
GetFinding |
Read |
|||
|
GetFindingRecommendation |
Read |
|||
|
GetFindingV2 |
Read |
|||
|
GetFindingsStatistics |
Read |
|||
|
GetGeneratedPolicy |
Read |
|||
|
ListAccessPreviewFindings |
Read |
|||
|
ListAccessPreviews |
List |
|||
|
ListAnalyzedResources |
Read |
|||
|
ListAnalyzers |
List |
|||
|
ListArchiveRules |
List |
|||
|
ListFindings |
Read |
|||
|
ListFindingsV2 |
Read |
|||
|
ListPolicyGenerations |
Read |
|||
|
ListTagsForResource |
Read |
|||
|
StartPolicyGeneration |
Write |
|||
iam:PassedToService |
access-analyzer.amazonaws.com |
Write |
||
|
StartResourceScan |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateAnalyzer |
Write |
|||
|
UpdateArchiveRule |
Write |
|||
|
UpdateFindings |
Write |
|||
|
ValidatePolicy |
Read |
Actions defined by Amazon IAM Access Analyzer
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in Amazon. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to apply an archive rule |
Write |
|||
Grants permission to cancel a policy generation |
Write |
|||
Grants permission to check that specified access is not allowed by a policy |
Read |
|||
Grants permission to check that no new access is allowed when compared to an existing policy |
Read |
|||
Grants permission to check that public access is not allowed by a resource policy |
Read |
|||
Grants permission to create an access preview for the specified analyzer |
Write |
|||
Grants permission to create an analyzer |
Write |
|||
Grants permission to create an archive rule for the specified analyzer |
Write |
|||
Grants permission to create a service-linked analyzer |
Write |
|||
Grants permission to delete the specified analyzer |
Write |
|||
Grants permission to delete archive rules for the specified analyzer |
Write |
|||
Grants permission to delete the specified service-linked analyzer |
Write |
|||
Grants permission to generate recommendation steps to resolve a finding |
Write |
|||
Grants permission to retrieve information about an access preview |
Read |
|||
Grants permission to retrieve information about an analyzed resource |
Read |
|||
Grants permission to retrieve information about analyzers |
Read |
|||
Grants permission to retrieve information about archive rules for the specified analyzer |
Read |
|||
Grants permission to retrieve findings |
Read |
|||
Grants permission to retrieve recommendation steps to resolve a finding |
Read |
|||
Grants permission to retrieve statistics for findings |
Read |
|||
Grants permission to retrieve a policy that was generated using StartPolicyGeneration |
Read |
|||
Grants permission to retrieve a list of findings from an access preview |
Read |
|||
Grants permission to retrieve a list of access previews |
List |
|||
Grants permission to retrieve a list of resources that have been analyzed |
Read |
|||
Grants permission to retrieves a list of analyzers |
List |
|||
Grants permission to retrieve a list of archive rules from an analyzer |
List |
|||
Grants permission to retrieve a list of findings from an analyzer |
Read |
|||
Grants permission to list all the recently started policy generations |
Read |
|||
Grants permission to retrieve a list of tags applied to a resource |
Read |
|||
Grants permission to start a policy generation |
Write |
|||
Grants permission to start a scan of the policies applied to a resource |
Write |
|||
Grants permission to add a tag to a resource |
Tagging, Write |
|||
Grants permission to remove a tag from a resource |
Tagging, Write |
|||
Grants permission to modify an analyzer's configuration |
Write |
|||
Grants permission to modify an archive rule |
Write |
|||
Grants permission to modify findings |
Write |
|||
Grants permission to validate a policy |
Read |
Resource types defined by Amazon IAM Access Analyzer
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName} |
||
arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}/archive-rule/${RuleName} |
Condition keys for Amazon IAM Access Analyzer
Amazon IAM Access Analyzer defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters actions based on the presence of tag key-value pairs in the request |
String |
|
Filters actions based on tag key-value pairs attached to the resource |
String |
|
Filters actions based on the presence of tag keys in the request |
ArrayOfString |