Skip to main content
IAM Policy Map

AWSResourceGroupsReadOnlyAccess

ReaderAWS managedActiveReviewedShow on mapCompare

Summary

The read only policy for AWS Resource Groups, as the AWS Managed Policy Reference Guide describes it.

Permissions imported from the AWS Managed Policy Reference Guide; other sections reviewed against the listed AWS sources.

Identity

ARN
arn:aws:iam::aws:policy/AWSResourceGroupsReadOnlyAccess
Default version
v2
Created
Last edited
Services
cloudformation, ec2, elasticache, elasticbeanstalk, elasticloadbalancing, elasticmapreduce, glacier, kinesis, opsworks, rds, redshift, resource-groups, route53, route53domains, s3, ssm, storagegateway, tag

Control-plane actions (57)

By access level: 33 List, 24 Read.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudFormation2 of 1042 List; 0 restricted, 0 conditionalcloudformation:DescribeStacks, cloudformation:ListStackResources
EC25 of 8345 List; 0 restricted, 0 conditionalec2:DescribeInstances, ec2:DescribeSecurityGroups, ec2:DescribeSnapshots, ec2:DescribeVolumes, ec2:DescribeVpcs
ElastiCache3 of 772 List, 1 Read; 0 restricted, 0 conditionalelasticache:DescribeCacheClusters, elasticache:DescribeSnapshots, elasticache:ListTagsForResource
Elastic Beanstalk1 of 501 List; 0 restricted, 0 conditionalelasticbeanstalk:DescribeEnvironments
ELB2 of 771 List, 1 Read; 0 restricted, 0 conditionalelasticloadbalancing:DescribeLoadBalancers, elasticloadbalancing:DescribeTags
EMR2 of 881 List, 1 Read; 0 restricted, 0 conditionalelasticmapreduce:DescribeCluster, elasticmapreduce:ListClusters
Glacier3 of 332 List, 1 Read; 0 restricted, 0 conditionalglacier:DescribeVault, glacier:ListTagsForVault, glacier:ListVaults
Kinesis3 of 421 List, 2 Read; 0 restricted, 0 conditionalkinesis:DescribeStream, kinesis:ListStreams, kinesis:ListTagsForStream
OpsWorks2 of 742 List; 0 restricted, 0 conditionalopsworks:DescribeStacks, opsworks:ListTags
RDS3 of 1732 List, 1 Read; 0 restricted, 0 conditionalrds:DescribeDBInstances, rds:DescribeDBSnapshots, rds:ListTagsForResource
Redshift2 of 1671 List, 1 Read; 0 restricted, 0 conditionalredshift:DescribeClusters, redshift:DescribeTags
Resource Groups13 of 296 List, 7 Read; 0 restricted, 0 conditionalresource-groups:Get*, resource-groups:List*, resource-groups:Search*
Route 535 of 712 List, 3 Read; 0 restricted, 0 conditionalroute53:GetHealthCheck, route53:GetHostedZone, route53:ListHealthChecks, route53:ListHostedZones, route53:ListTagsForResource
Route 53 Domains1 of 361 List; 0 restricted, 0 conditionalroute53domains:ListDomains
S32 of 1551 List, 1 Read; 0 restricted, 0 conditionals3:GetBucketTagging, s3:ListAllMyBuckets
Systems Manager1 of 1641 List; 0 restricted, 0 conditionalssm:ListDocuments
Storage Gateway3 of 972 List, 1 Read; 0 restricted, 0 conditionalstoragegateway:DescribeGatewayInformation, storagegateway:ListGateways, storagegateway:ListTagsForResource
Resource Group Tagging4 of 94 Read; 0 restricted, 0 conditionaltag:Get*
CloudFormation: 2 actions
  • cloudformation:DescribeStacks (List)
  • cloudformation:ListStackResources (List)
EC2: 5 actions
  • ec2:DescribeInstances (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSnapshots (List)
  • ec2:DescribeVolumes (List)
  • ec2:DescribeVpcs (List)
ElastiCache: 3 actions
  • elasticache:DescribeCacheClusters (List)
  • elasticache:DescribeSnapshots (List)
  • elasticache:ListTagsForResource (Read)
Elastic Beanstalk: 1 actions
  • elasticbeanstalk:DescribeEnvironments (List)
ELB: 2 actions
  • elasticloadbalancing:DescribeLoadBalancers (List)
  • elasticloadbalancing:DescribeTags (Read)
EMR: 2 actions
  • elasticmapreduce:DescribeCluster (Read)
  • elasticmapreduce:ListClusters (List)
Glacier: 3 actions
  • glacier:DescribeVault (Read)
  • glacier:ListTagsForVault (List)
  • glacier:ListVaults (List)
Kinesis: 3 actions
  • kinesis:DescribeStream (Read)
  • kinesis:ListStreams (List)
  • kinesis:ListTagsForStream (Read)
OpsWorks: 2 actions
  • opsworks:DescribeStacks (List)
  • opsworks:ListTags (List)
RDS: 3 actions
  • rds:DescribeDBInstances (List)
  • rds:DescribeDBSnapshots (List)
  • rds:ListTagsForResource (Read)
Redshift: 2 actions
  • redshift:DescribeClusters (List)
  • redshift:DescribeTags (Read)
Resource Groups: 13 actions
  • resource-groups:GetAccountSettings (Read)
  • resource-groups:GetGroup (Read)
  • resource-groups:GetGroupConfiguration (Read)
  • resource-groups:GetGroupPolicy (Read)
  • resource-groups:GetGroupQuery (Read)
  • resource-groups:GetTagSyncTask (Read)
  • resource-groups:GetTags (Read)
  • resource-groups:ListGroupResources (List)
  • resource-groups:ListGroupingStatuses (List)
  • resource-groups:ListGroups (List)
  • resource-groups:ListResourceTypes (List)
  • resource-groups:ListTagSyncTasks (List)
  • resource-groups:SearchResources (List)
Route 53: 5 actions
  • route53:GetHealthCheck (Read)
  • route53:GetHostedZone (List)
  • route53:ListHealthChecks (Read)
  • route53:ListHostedZones (List)
  • route53:ListTagsForResource (Read)
Route 53 Domains: 1 actions
  • route53domains:ListDomains (List)
S3: 2 actions
  • s3:GetBucketTagging (Read)
  • s3:ListAllMyBuckets (List)
Systems Manager: 1 actions
  • ssm:ListDocuments (List)
Storage Gateway: 3 actions
  • storagegateway:DescribeGatewayInformation (Read)
  • storagegateway:ListGateways (List)
  • storagegateway:ListTagsForResource (List)
Resource Group Tagging: 4 actions
  • tag:GetComplianceSummary (Read)
  • tag:GetResources (Read)
  • tag:GetTagKeys (Read)
  • tag:GetTagValues (Read)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: all-resources.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants only List and Read actions.

Guidance

Practical scope

One statement allows, on Resource "*" with no Condition, resource-groups:Get*, resource-groups:List* and resource-groups:Search*, tag:Get*, and describe and list actions for other services: CloudFormation, Amazon EC2, ElastiCache, Elastic Beanstalk, Amazon EMR, S3 Glacier, Kinesis, OpsWorks, Amazon RDS, Amazon Redshift, Route 53, Route 53 Domains, Storage Gateway, Amazon S3 (s3:ListAllMyBuckets and s3:GetBucketTagging), Elastic Load Balancing and Systems Manager (ssm:ListDocuments).

Use cases

  • View AWS Resource Groups and the tags and resources of the services listed above.

Best practices

  • AWS managed policies don't grant least privilege permissions. The IAM User Guide suggests using IAM Access Analyzer to see which permissions principals actually use, then writing a custom policy or generating one with only the required permissions.

Security considerations

  • The grant spans many services but is limited to Get, List, Describe and Search style actions, all on Resource "*".
  • You cannot change the permissions in an AWS managed policy. If AWS updates the policy, the update affects every user, group and role it is attached to.

Assignment guidance

You can attach this policy to your users, groups and roles. The reference page also links to guidance on creating a permission set using AWS managed policies in IAM Identity Center. It fits where viewing resource groups and the related resources is the only requirement.

Same service

Same domain

Frequently asked questions

When should I attach AWSResourceGroupsReadOnlyAccess?
The reference page describes it as the read only policy for AWS Resource Groups, and says you can attach it to users, groups and roles. Attach it for people who need to view resource groups.
What does AWSResourceGroupsReadOnlyAccess grant?
It allows resource-groups:Get*, List* and Search*, tag:Get*, and a set of describe and list actions across CloudFormation, EC2, ElastiCache, Elastic Beanstalk, EMR, S3 Glacier, Kinesis, OpsWorks, RDS, Redshift, Route 53, Storage Gateway, S3, Elastic Load Balancing and Systems Manager, all on all resources.
What are the security risks of AWSResourceGroupsReadOnlyAccess?
The permissions are reads, but they cover many services on all resources, so a holder can see resource inventory and tags broadly. AWS managed policies do not grant least privilege permissions, and an AWS update to the policy affects every identity it is attached to.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Action": [
        "resource-groups:Get*",
        "resource-groups:List*",
        "resource-groups:Search*",
        "tag:Get*",
        "cloudformation:DescribeStacks",
        "cloudformation:ListStackResources",
        "ec2:DescribeInstances",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSnapshots",
        "ec2:DescribeVolumes",
        "ec2:DescribeVpcs",
        "elasticache:DescribeCacheClusters",
        "elasticache:DescribeSnapshots",
        "elasticache:ListTagsForResource",
        "elasticbeanstalk:DescribeEnvironments",
        "elasticmapreduce:DescribeCluster",
        "elasticmapreduce:ListClusters",
        "glacier:ListVaults",
        "glacier:DescribeVault",
        "glacier:ListTagsForVault",
        "kinesis:ListStreams",
        "kinesis:DescribeStream",
        "kinesis:ListTagsForStream",
        "opsworks:DescribeStacks",
        "opsworks:ListTags",
        "rds:DescribeDBInstances",
        "rds:DescribeDBSnapshots",
        "rds:ListTagsForResource",
        "redshift:DescribeClusters",
        "redshift:DescribeTags",
        "route53domains:ListDomains",
        "route53:ListHealthChecks",
        "route53:GetHealthCheck",
        "route53:ListHostedZones",
        "route53:GetHostedZone",
        "route53:ListTagsForResource",
        "storagegateway:ListGateways",
        "storagegateway:DescribeGatewayInformation",
        "storagegateway:ListTagsForResource",
        "s3:ListAllMyBuckets",
        "s3:GetBucketTagging",
        "elasticloadbalancing:DescribeLoadBalancers",
        "elasticloadbalancing:DescribeTags",
        "ssm:ListDocuments"
      ],
      "Effect": "Allow",
      "Resource": "*"
    }
  ]
}

Version history

Current version v2, edited by AWS on 2019-02-05. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AWSResourceGroupsReadOnlyAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSResourceGroupsReadOnlyAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSResourceGroupsReadOnlyAccess

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AWSResourceGroupsReadOnlyAccess

Terraform

resource "aws_iam_role_policy_attachment" "awsresourcegroupsreadonlyaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AWSResourceGroupsReadOnlyAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AWSResourceGroupsReadOnlyAccess"),
);

Sources