AWSBatchServiceRolePolicyForSageMaker - AWS Managed Policy

AWSBatchServiceRolePolicyForSageMaker

Description: Provides access for AWS Batch to queue and manage Amazon SageMaker workloads

AWSBatchServiceRolePolicyForSageMaker is an AWS managed policy.

Using this policy

This policy is attached to a service-linked role that allows the service to perform actions on your behalf. You cannot attach this policy to your users, groups, or roles.

Policy details

  • Type: Service-linked role policy

  • Creation time: July 15, 2025, 21:37 UTC

  • Edited time: July 15, 2025, 21:37 UTC

  • ARN: arn:aws:iam::aws:policy/aws-service-role/AWSBatchServiceRolePolicyForSageMaker

Policy version

Policy version: v1 (default)

The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.

JSON policy document

{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "sagemaker:CreateTrainingJob", "sagemaker:DescribeTrainingJob", "sagemaker:StopTrainingJob", "sagemaker:ListTags" ], "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" ] } } } ] }

Learn more