aws-cleanrooms

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

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/sakicodes/BuildFestHackathon26 --skill aws-cleanrooms-sakicodes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-cleanrooms
Source: https://github.com/sakicodes/BuildFestHackathon26/tree/main/.agents/skills/aws-cleanrooms
Command: npx skills add https://github.com/sakicodes/BuildFestHackathon26 --skill aws-cleanrooms-sakicodes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? AWS Clean Rooms collaborations fail with opaque permission errors spanning IAM roles, S3 bucket policies, KMS keys, and Lake Formation, and custom ML training or inference jobs often produce no CloudWatch logs. This Skill provides systematic diagnostic procedures that pinpoint the exact root cause instead of trial-and-error permission changes. ## Core Features & Use Cases - Permission Debugging: Traces access denied errors through IAM role policies, S3 bucket policies, KMS key policies, Lake Formation grants, and cross-account trust configurations. - ML Logging Diagnostics: Investigates missing CloudWatch logs for custom model training and inference jobs by checking privacy configurations, ML Configuration roles, and log group existence. - Use Case: A customer reports that their Clean Rooms ML training job completed but no logs appear in CloudWatch. The Skill walks through the Configured Model Algorithm Association privacy configuration, verifies the ML Configuration role has logs:CreateLogGroup and logs:PutLogEvents permissions, and produces a diagnosis with the exact CLI fix. ## Quick Start Diagnose why my Clean Rooms membership is getting an access denied error when running a protected query in region 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?

Classify the error as result writing, data access, table association, or cross-account failure, then check IAM role policies, S3 bucket policies, KMS key policies, and Lake Formation grants in sequence. The diagnostic procedure verifies trust policies allow cleanrooms.amazonaws.com and checks for explicit Deny statements.

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

Missing logs typically result from an empty containerLogs privacy configuration in the Configured Model Algorithm Association, a missing ML Configuration, or the ML Configuration role lacking logs:CreateLogGroup, logs:CreateLogStream, and logs:PutLogEvents permissions. Logging is configured in CreateConfiguredModelAlgorithmAssociation, not CreateTrainedModel.

What IAM permissions does a Clean Rooms data access role need?

For Glue/S3-backed configured tables, the role needs glue:GetDatabase, glue:GetTable, glue:GetPartitions, glue:BatchGetPartition, glue:GetSchema, glue:GetSchemaVersion, plus s3:GetObject, s3:GetBucketLocation, and s3:ListBucket. The trust policy must allow the cleanrooms.amazonaws.com service principal.

Does Lake Formation affect Clean Rooms table access?

Yes. If Lake Formation enforces fine-grained access (empty CreateDatabaseDefaultPermissions or CreateTableDefaultPermissions), IAM Glue permissions alone are insufficient. The role needs explicit SELECT and DESCRIBE grants on the relevant database and table, verified via lakeformation list-permissions.

Why does StartProtectedQuery fail even with cleanrooms permissions?

The caller also needs dependent actions including cleanrooms:GetCollaborationAnalysisTemplate, cleanrooms:GetSchema, and S3 permissions. Additionally, the managed policy AWSCleanRoomsFullAccessNoQuerying explicitly denies StartProtectedQuery and cannot be overridden by adding permissions.