Amazon managed policies for SageMaker AI job runtime
Attach this policy to the IAM role that your agent runtime uses. It grants your agent runtime the permissions needed to invoke Amazon SageMaker AI job runtime APIs during model customization for sample generation, trajectory completion, and reward submission.
Topics
Amazon managed policy: AmazonSageMakerJobRuntimeAccess
Use this policy to give your agent runtime the permissions to invoke SageMaker AI job runtime APIs during model customization for sample generation, trajectory completion, and reward submission. This policy restricts all permissions to resources within your Amazon account.
Permissions details
This policy includes the following permissions.
-
sagemaker– Grants permissions to invoke job runtime APIs including generating samples, generating samples with response streaming, completing rollouts, and updating rewards on SageMaker AI job resources. Also grants permissions to call APIs with bearer token authentication. -
kms– Grants permissions to decrypt and generate data keys to support Amazon KMS encryption for Multi-Turn Reinforcement Learning (MTRL) runtime when you configure a customer managed key. This policy restricts these permissions to KMS keys in your own account (aws:ResourceAccountequalsaws:PrincipalAccount) and requires that SageMaker AI service integrations route the requests (kms:ViaServiceset tosagemaker.*.amazonaws.com).
{ "Version": "2012-10-17", "Statement": [ { "Sid": "SageMakerJobRuntimePermissions", "Effect": "Allow", "Action": [ "sagemaker:Sample", "sagemaker:SampleWithResponseStream", "sagemaker:CompleteRollout", "sagemaker:UpdateReward" ], "Resource": "arn:aws:sagemaker:*:*:job/*", "Condition": { "StringEquals": { "aws:ResourceAccount": "${aws:PrincipalAccount}" } } }, { "Sid": "BearerTokenPermissions", "Effect": "Allow", "Action": [ "sagemaker:CallWithBearerToken" ], "Resource": "*", "Condition": { "StringEquals": { "aws:ResourceAccount": "${aws:PrincipalAccount}" } } }, { "Sid": "KMSPermissionsForMTRLRuntime", "Effect": "Allow", "Action": [ "kms:Decrypt", "kms:GenerateDataKey" ], "Resource": "arn:aws:kms:*:*:key/*", "Condition": { "StringEquals": { "aws:ResourceAccount": "${aws:PrincipalAccount}" }, "StringLike": { "kms:ViaService": "sagemaker.*.amazonaws.com" } } } ] }
For more information about this policy, see AmazonSageMakerJobRuntimeAccess in the Amazon Managed Policy Reference Guide.
Amazon SageMaker AI updates to SageMaker AI job runtime managed policies
View details about updates to Amazon managed policies for Amazon SageMaker AI since Amazon SageMaker AI began tracking these changes.
| Policy | Version | Change | Date |
|---|---|---|---|
|
AmazonSageMakerJobRuntimeAccess – Updated |
2 |
Added |
August 07, 2026 |
|
AmazonSageMakerJobRuntimeAccess – New policy |
1 |
Initial policy |
June 4, 2026 |