Skip to main content
IAM Policy Map

AWSCleanRoomsReadOnlyAccess

AnalystAWS managedActiveReviewedShow on mapCompare

Summary

Allows read-only access to AWS Clean Rooms resources and read-only access to related AWS Glue and Amazon CloudWatch Logs resources. The AWS Clean Rooms User Guide says it grants read-only permissions to resources and metadata in a collaboration.

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

Identity

ARN
arn:aws:iam::aws:policy/AWSCleanRoomsReadOnlyAccess
Default version
v1
Created
Last edited
Services
cleanrooms, glue, logs

Control-plane actions (61)

By access level: 24 List, 37 Read.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Clean Rooms50 of 10724 List, 26 Read; 0 restricted, 0 conditionalcleanrooms:BatchGet*, cleanrooms:Get*, cleanrooms:List*
Glue9 of 3069 Read; 0 restricted, 0 conditionalglue:BatchGetPartition, glue:GetDatabase, glue:GetDatabases, glue:GetPartition, glue:GetPartitions, glue:GetSchema, glue:GetSchemaVersion, glue:GetTable, glue:GetTables
CloudWatch Logs2 of 1332 Read; 1 restricted, 0 conditionallogs:GetQueryResults, logs:StartQuery
Clean Rooms: 50 actions
  • cleanrooms:BatchGetCollaborationAnalysisTemplate (Read)
  • cleanrooms:BatchGetSchema (Read)
  • cleanrooms:BatchGetSchemaAnalysisRule (Read)
  • cleanrooms:GetAnalysisLogExport (Read)
  • cleanrooms:GetAnalysisTemplate (Read)
  • cleanrooms:GetCollaboration (Read)
  • cleanrooms:GetCollaborationAnalysisTemplate (Read)
  • cleanrooms:GetCollaborationChangeRequest (Read)
  • cleanrooms:GetCollaborationConfiguredAudienceModelAssociation (Read)
  • cleanrooms:GetCollaborationIdNamespaceAssociation (Read)
  • cleanrooms:GetCollaborationPrivacyBudgetTemplate (Read)
  • cleanrooms:GetConfiguredAudienceModelAssociation (Read)
  • cleanrooms:GetConfiguredTable (Read)
  • cleanrooms:GetConfiguredTableAnalysisRule (Read)
  • cleanrooms:GetConfiguredTableAssociation (Read)
  • cleanrooms:GetConfiguredTableAssociationAnalysisRule (Read)
  • cleanrooms:GetIdMappingTable (Read)
  • cleanrooms:GetIdNamespaceAssociation (Read)
  • cleanrooms:GetIntermediateTable (Read)
  • cleanrooms:GetIntermediateTableAnalysisRule (Read)
  • cleanrooms:GetMembership (Read)
  • cleanrooms:GetPrivacyBudgetTemplate (Read)
  • cleanrooms:GetProtectedJob (Read)
  • cleanrooms:GetProtectedQuery (Read)
  • cleanrooms:GetSchema (Read)
  • cleanrooms:GetSchemaAnalysisRule (Read)
  • cleanrooms:ListAnalysisLogExports (List)
  • cleanrooms:ListAnalysisTemplates (List)
  • cleanrooms:ListCollaborationAnalysisTemplates (List)
  • cleanrooms:ListCollaborationChangeRequests (List)
  • cleanrooms:ListCollaborationConfiguredAudienceModelAssociations (List)
  • cleanrooms:ListCollaborationIdNamespaceAssociations (List)
  • cleanrooms:ListCollaborationPrivacyBudgetTemplates (List)
  • cleanrooms:ListCollaborationPrivacyBudgets (List)
  • cleanrooms:ListCollaborations (List)
  • cleanrooms:ListConfiguredAudienceModelAssociations (List)
  • cleanrooms:ListConfiguredTableAssociations (List)
  • cleanrooms:ListConfiguredTables (List)
  • cleanrooms:ListIdMappingTables (List)
  • cleanrooms:ListIdNamespaceAssociations (List)
  • cleanrooms:ListIntermediateTableVersions (List)
  • cleanrooms:ListIntermediateTables (List)
  • cleanrooms:ListMembers (List)
  • cleanrooms:ListMemberships (List)
  • cleanrooms:ListPrivacyBudgetTemplates (List)
  • cleanrooms:ListPrivacyBudgets (List)
  • cleanrooms:ListProtectedJobs (List)
  • cleanrooms:ListProtectedQueries (List)
  • cleanrooms:ListSchemas (List)
  • cleanrooms:ListTagsForResource (List)
Glue: 9 actions
  • glue:BatchGetPartition (Read)
  • glue:GetDatabase (Read)
  • glue:GetDatabases (Read)
  • glue:GetPartition (Read)
  • glue:GetPartitions (Read)
  • glue:GetSchema (Read)
  • glue:GetSchemaVersion (Read)
  • glue:GetTable (Read)
  • glue:GetTables (Read)
CloudWatch Logs: 2 actions
  • logs:GetQueryResults (Read)
  • logs:StartQuery (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: mixed.

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

Why this tier

  • Grants read access plus query or analysis actions that expose data.

Guidance

Practical scope

Four statements. CleanRoomsRead allows cleanrooms:BatchGet*, cleanrooms:Get* and cleanrooms:List* on Resource "*". ConsoleDisplayTables allows nine read-only glue actions (glue:GetDatabase, glue:GetDatabases, glue:GetTable, glue:GetTables, glue:GetPartition, glue:GetPartitions, glue:GetSchema, glue:GetSchemaVersion and glue:BatchGetPartition). ConsoleLogSummaryQueryLogs allows logs:StartQuery on log groups whose names start with /aws/cleanrooms. ConsoleLogSummaryObtainLogs allows logs:GetQueryResults.

Use cases

  • Let users or roles view AWS Clean Rooms collaborations and their metadata, including the AWS Glue table details and query logs the console shows, without changing them.

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 policy grants no cleanrooms write actions, but cleanrooms:Get* and cleanrooms:List* apply to all resources. It also allows logs:StartQuery on /aws/cleanrooms log groups and logs:GetQueryResults on all resources, so principals can run log queries and retrieve results.
  • 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. The AWS Clean Rooms User Guide says you can attach it to your IAM principals. It fits where read-only access to AWS Clean Rooms is intended.

Same service

Same domain

Frequently asked questions

When should I attach AWSCleanRoomsReadOnlyAccess?
The AWS Clean Rooms User Guide says you can attach AWSCleanRoomsReadOnlyAccess to your IAM principals, and that it grants read-only permissions to resources and metadata in a collaboration. Attach it where viewing AWS Clean Rooms is the intended scope.
What does AWSCleanRoomsReadOnlyAccess grant?
It allows cleanrooms:BatchGet*, cleanrooms:Get* and cleanrooms:List* on all resources, nine read-only glue actions, logs:StartQuery on log groups starting with /aws/cleanrooms and logs:GetQueryResults.
What are the security risks of AWSCleanRoomsReadOnlyAccess?
It grants no cleanrooms write actions, but its read access applies to all resources and it can run and read CloudWatch Logs queries. AWS managed policies don't grant least privilege permissions, and you must consider the security risk of granting principals more permissions than they need. AWS updates to the policy affect every identity it is attached to.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "CleanRoomsRead",
      "Effect": "Allow",
      "Action": [
        "cleanrooms:BatchGet*",
        "cleanrooms:Get*",
        "cleanrooms:List*"
      ],
      "Resource": "*"
    },
    {
      "Sid": "ConsoleDisplayTables",
      "Effect": "Allow",
      "Action": [
        "glue:GetDatabase",
        "glue:GetDatabases",
        "glue:GetTable",
        "glue:GetTables",
        "glue:GetPartition",
        "glue:GetPartitions",
        "glue:GetSchema",
        "glue:GetSchemaVersion",
        "glue:BatchGetPartition"
      ],
      "Resource": "*"
    },
    {
      "Sid": "ConsoleLogSummaryQueryLogs",
      "Effect": "Allow",
      "Action": [
        "logs:StartQuery"
      ],
      "Resource": "arn:aws:logs:*:*:log-group:/aws/cleanrooms*"
    },
    {
      "Sid": "ConsoleLogSummaryObtainLogs",
      "Effect": "Allow",
      "Action": [
        "logs:GetQueryResults"
      ],
      "Resource": "*"
    }
  ]
}

Version history

Current version v1, edited by AWS on 2023-01-12. 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/AWSCleanRoomsReadOnlyAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSCleanRoomsReadOnlyAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSCleanRoomsReadOnlyAccess

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources