AWSCleanRoomsFullAccess

Last Modified

Mar 12, 2026

March 12, 2026 at 09:25 PM UTC

Version

v2

Total Versions

2

Created

Mar 21, 2024

Actions

35

Risk

Medium

The same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • Medium

    Full cleanrooms access on every resource

    Uses cleanrooms:* with Resource "*" and no condition, so every action AWS adds to that service later is granted too.

    cleanrooms:*

    Use with caution: The grant grows every time the service does. For long-lived access, prefer a policy that lists the actions you actually need.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "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": "*"
        }
      ]
    },
    "VersionId": "v2",
    "IsDefaultVersion": true,
    "CreateDate": "2024-03-21T15:35:13+00:00"
  }
}

Version History (5 recorded)

Raw history

AWSCleanRoomsFullAccess - Policy Version v2

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

e37a45f

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Mar 21, 2024

c348479

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jan 12, 2023

55573d4