Skip to main content
IAM Policy Map

AWSCleanRoomsFullAccess

AdminAWS managedActivePermissions reviewedShow on mapCompare

Summary

Allows full access to AWS Clean Rooms resources and access to related AWS services.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/AWSCleanRoomsFullAccess
Default version
v2
Created
Last edited
Services
cleanrooms, glue, iam, logs, s3

Control-plane actions (137)

By access level: 32 List, 1 Permissions management, 45 Read, 2 Tagging, 57 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Clean RoomsAll 107 actions (see the Clean Rooms page)24 List, 29 Read, 2 Tagging, 52 Write; 0 restricted, 0 conditionalcleanrooms:*
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
IAM8 of 1904 List, 3 Read, 1 Write; 6 restricted, 1 conditionaliam:GetPolicy, iam:GetPolicyVersion, iam:GetRole, iam:ListAttachedRolePolicies, iam:ListPolicies, iam:ListRolePolicies, iam:ListRoles, iam:PassRole
CloudWatch Logs11 of 1333 List, 1 Permissions management, 3 Read, 4 Write; 10 restricted, 9 conditionallogs:CreateLogDelivery, logs:CreateLogGroup, logs:DeleteLogDelivery, logs:DescribeLogGroups, logs:DescribeResourcePolicies, logs:GetLogDelivery, logs:GetQueryResults, logs:ListLogDeliveries, logs:PutResourcePolicy, logs:StartQuery, logs:UpdateLogDelivery
S32 of 1551 List, 1 Read; 1 restricted, 0 conditionals3:GetBucketLocation, s3:ListAllMyBuckets
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)
IAM: 8 actions
  • iam:GetPolicy (Read)
  • iam:GetPolicyVersion (Read)
  • iam:GetRole (Read)
  • iam:ListAttachedRolePolicies (List)
  • iam:ListPolicies (List)
  • iam:ListRolePolicies (List)
  • iam:ListRoles (List)
  • iam:PassRole (Write)
CloudWatch Logs: 11 actions
  • logs:CreateLogDelivery (Write)
  • logs:CreateLogGroup (Write)
  • logs:DeleteLogDelivery (Write)
  • logs:DescribeLogGroups (List)
  • logs:DescribeResourcePolicies (List)
  • logs:GetLogDelivery (Read)
  • logs:GetQueryResults (Read)
  • logs:ListLogDeliveries (List)
  • logs:PutResourcePolicy (Permissions management)
  • logs:StartQuery (Read)
  • logs:UpdateLogDelivery (Write)
S3: 2 actions
  • s3:GetBucketLocation (Read)
  • s3:ListAllMyBuckets (List)

Data-plane actions (4)

By access level: 2 List, 1 Read, 1 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
S34 of 252 List, 1 Read, 1 Write; 4 restricted, 2 conditionals3:GetObject, s3:ListBucket, s3:ListBucketVersions, s3:PutObject
S3: 4 actions
  • s3:GetObject (Read)
  • s3:ListBucket (List)
  • s3:ListBucketVersions (List)
  • s3:PutObject (Write)

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 at least 80% of the write and permissions-management actions of: cleanrooms (52 of 52).
  • Grants data-plane write actions on a data store, but only for scoped resources or under conditions.
  • Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "CleanRoomsAccess",
      "Effect": "Allow",
      "Action": [
        "cleanrooms:*"
      ],
      "Resource": "*"
    },
    {
      "Sid": "PassServiceRole",
      "Effect": "Allow",
      "Action": [
        "iam:PassRole"
      ],
      "Resource": "arn:aws:iam::*:role/service-role/*cleanrooms*",
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": "cleanrooms.amazonaws.com"
        }
      }
    },
    {
      "Sid": "ListRolesToPickServiceRole",
      "Effect": "Allow",
      "Action": [
        "iam:ListRoles"
      ],
      "Resource": "*"
    },
    {
      "Sid": "GetRoleAndListRolePoliciesToInspectServiceRole",
      "Effect": "Allow",
      "Action": [
        "iam:GetRole",
        "iam:ListRolePolicies",
        "iam:ListAttachedRolePolicies"
      ],
      "Resource": "arn:aws:iam::*:role/service-role/*cleanrooms*"
    },
    {
      "Sid": "ListPoliciesToInspectServiceRolePolicy",
      "Effect": "Allow",
      "Action": [
        "iam:ListPolicies"
      ],
      "Resource": "*"
    },
    {
      "Sid": "GetPolicyToInspectServiceRolePolicy",
      "Effect": "Allow",
      "Action": [
        "iam:GetPolicy",
        "iam:GetPolicyVersion"
      ],
      "Resource": "arn:aws:iam::*:policy/*cleanrooms*"
    },
    {
      "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": "ConsolePickQueryResultsBucketListAll",
      "Effect": "Allow",
      "Action": [
        "s3:ListAllMyBuckets"
      ],
      "Resource": "*"
    },
    {
      "Sid": "SetQueryResultsBucket",
      "Effect": "Allow",
      "Action": [
        "s3:GetBucketLocation",
        "s3:ListBucketVersions"
      ],
      "Resource": "arn:aws:s3:::cleanrooms-queryresults*"
    },
    {
      "Sid": "WriteQueryResults",
      "Effect": "Allow",
      "Action": [
        "s3:ListBucket",
        "s3:PutObject"
      ],
      "Resource": "arn:aws:s3:::cleanrooms-queryresults*",
      "Condition": {
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": "cleanrooms.amazonaws.com"
        }
      }
    },
    {
      "Sid": "ConsoleDisplayQueryResults",
      "Effect": "Allow",
      "Action": [
        "s3:GetObject"
      ],
      "Resource": "arn:aws:s3:::cleanrooms-queryresults*"
    },
    {
      "Sid": "EstablishLogDeliveries",
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogDelivery",
        "logs:GetLogDelivery",
        "logs:UpdateLogDelivery",
        "logs:DeleteLogDelivery",
        "logs:ListLogDeliveries"
      ],
      "Resource": "*",
      "Condition": {
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": "cleanrooms.amazonaws.com"
        }
      }
    },
    {
      "Sid": "SetupLogGroupsDescribe",
      "Effect": "Allow",
      "Action": [
        "logs:DescribeLogGroups"
      ],
      "Resource": "*",
      "Condition": {
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": "cleanrooms.amazonaws.com"
        }
      }
    },
    {
      "Sid": "SetupLogGroupsCreate",
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogGroup"
      ],
      "Resource": "arn:aws:logs:*:*:log-group:/aws/cleanrooms*",
      "Condition": {
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": "cleanrooms.amazonaws.com"
        }
      }
    },
    {
      "Sid": "SetupLogGroupsResourcePolicy",
      "Effect": "Allow",
      "Action": [
        "logs:DescribeResourcePolicies",
        "logs:PutResourcePolicy"
      ],
      "Resource": "*",
      "Condition": {
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": "cleanrooms.amazonaws.com"
        }
      }
    },
    {
      "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 v2, edited by AWS on 2024-03-21. 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/AWSCleanRoomsFullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSCleanRoomsFullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSCleanRoomsFullAccess

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.