AWSBatchServiceRolePolicyForSageMaker
Last Modified
Apr 16, 2026
April 16, 2026 at 06:03 PM UTC
Version
v2
Total Versions
2
Created
Apr 16, 2026
Actions
10
Risk
MediumThe 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
Can launch resources that run as a more privileged role
Grants the actions of 1 documented escalation path, but only on named resources or under a condition. Review that scope before trusting it.
- iam:PassRole: condition iam:PassedToService
Use with caution: Check which roles, users or policies fall inside the scope shown above. Within it the escalation works as documented, so keep privileged principals out of it.
Policy Document
View on GitHub{
"PolicyVersion": {
"Document": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"sagemaker:CreateTrainingJob",
"sagemaker:DescribeTrainingJob",
"sagemaker:StopTrainingJob",
"sagemaker:ListTags",
"sagemaker:DeleteTrainingJob"
],
"Resource": "arn:aws:sagemaker:*:*:training-job/AWSBatch*"
},
{
"Effect": "Allow",
"Action": [
"sagemaker:CreateTrainingJob"
],
"Resource": [
"arn:aws:sagemaker:*:*:training-plan/*",
"arn:aws:sagemaker:*:*:reserved-capacity/*"
]
},
{
"Effect": "Allow",
"Action": [
"sagemaker:AddTags"
],
"Resource": "arn:aws:sagemaker:*:*:training-job/AWSBatch*",
"Condition": {
"StringEquals": {
"sagemaker:TaggingAction": "CreateTrainingJob"
}
}
},
{
"Effect": "Allow",
"Action": [
"sagemaker:ListTrainingJobs",
"sagemaker:Search"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": "*",
"Condition": {
"StringEquals": {
"iam:PassedToService": [
"sagemaker.amazonaws.com"
]
}
}
}
]
},
"VersionId": "v2",
"IsDefaultVersion": true,
"CreateDate": "2026-04-16T17:27:13+00:00"
}
}Version History (3 recorded)
Raw history1 action added
AWSBatchServiceRolePolicyForSageMaker - Policy Version v1
No recorded action delta - this version predates the change index. View the raw diff.
Mar 12, 2026
0b7b774AWSBatchServiceRolePolicyForSageMaker - Policy Version v1
No recorded action delta - this version predates the change index. View the raw diff.
Jul 16, 2025
e54cbc2