aws-cleanrooms

Diagnoses AWS Clean Rooms permission failures and CloudWatch logging issues for ML jobs.

Updated Sep 8, 2026
One-click install
npx skills add https://github.com/dennisvink/yolomancer --skill aws-cleanrooms-dennisvink
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-cleanrooms
Source: https://github.com/dennisvink/yolomancer/tree/main/skills/aws/specialized-skills/analytics-skills/aws-cleanrooms
Command: npx skills add https://github.com/dennisvink/yolomancer --skill aws-cleanrooms-dennisvink

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? AWS Clean Rooms collaborations often fail with opaque access denied errors or silently missing CloudWatch logs for custom ML training and inference jobs. This Skill provides systematic diagnostic procedures to pinpoint the exact root cause across IAM roles, S3 bucket policies, KMS keys, Lake Formation permissions, and ML Configuration settings. ## Core Features & Use Cases - Permission Debugging: Traces access errors through IAM role policies (inline and managed), S3 bucket policies, KMS key policies, Lake Formation grants, and cross-account trust configurations. - Custom Model Logging Diagnosis: Investigates why CloudWatch logs are not published for trained models or inference jobs by checking privacy configurations, ML Configuration roles, and log group existence. - Use Case: A customer runs a protected query that fails with AccessDenied. The Skill walks through the membership configuration, resolves the configured table to its S3 bucket via Glue, checks the data access role's IAM and Lake Formation permissions, and outputs the exact policy fix with CLI commands. ## Quick Start Diagnose why my Clean Rooms protected query is failing with an access denied error in membership m-123abc in us-east-1.

Frequently Asked Questions about aws-cleanrooms

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I troubleshoot AWS Clean Rooms access denied errors?

Start by classifying the error as result writing, data access, table association, or cross-account failure. Then check the IAM role's inline and managed policies, the S3 bucket policy, KMS key policy if SSE-KMS is used, and Lake Formation grants for Glue-backed tables.

Why are CloudWatch logs missing for Clean Rooms ML training jobs?

Missing logs usually stem from an empty containerLogs privacy configuration on the Configured Model Algorithm Association, a missing ML Configuration, or the ML Configuration role lacking logs:CreateLogGroup, logs:CreateLogStream, and logs:PutLogEvents permissions.

Does Lake Formation affect Clean Rooms data access permissions?

Yes. If Lake Formation enforces fine-grained access, IAM Glue permissions alone are insufficient. The data access role needs explicit SELECT and DESCRIBE grants on the database and table, or the table must have IAM_ALLOWED_PRINCIPALS granted.

What permissions does a Clean Rooms result receiver role need?

Result receiver roles need s3:PutObject, s3:GetBucketLocation, and s3:ListBucket on the output bucket. If the bucket uses SSE-KMS encryption, the role also needs kms:GenerateDataKey on the key, and cross-account setups require explicit bucket and key policy allows.

Why does StartProtectedQuery fail even with the primary permission?

The caller also needs dependent actions like cleanrooms:GetCollaborationAnalysisTemplate, cleanrooms:GetSchema, and S3 permissions. Also check whether AWSCleanRoomsFullAccessNoQuerying is attached, since it explicitly denies StartProtectedQuery and cannot be overridden.