vision_QA_medgemma / space-user-policy.json
codegood's picture
Add s3:ListBucket permission needed for GetObject polling on not-yet-existing keys
ab04ed2
Raw
History Blame Contribute Delete
805 Bytes
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "sagemaker:InvokeEndpointAsync",
"Resource": "arn:aws:sagemaker:us-east-1:244929314651:endpoint/medgemma-vllm-endpoint"
},
{
"Effect": "Allow",
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::medgemma-async-2026/input/*"
},
{
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": [
"arn:aws:s3:::medgemma-async-2026/output/*",
"arn:aws:s3:::medgemma-async-2026/failures/*"
]
},
{
"Effect": "Allow",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::medgemma-async-2026",
"Condition": {
"StringLike": {
"s3:prefix": ["output/*", "failures/*"]
}
}
}
]
}