sagemaker:UpdateTrainingJob

Write

sagemaker:UpdateTrainingJob is a Write access-level action in the sagemaker service. Grants permission to update a training job

Resource types

ARNs that sagemaker:UpdateTrainingJob can be scoped to in an IAM policy.

arn:${Partition}:sagemaker:${Region}:${Account}:training-job/${TrainingJobName} required
training-job

Condition keys

Keys you can use in the Condition block of a policy that grants sagemaker:UpdateTrainingJob.

sagemaker:EnableRemoteDebug Bool

Filters access by the remote debug config in the request

sagemaker:InstanceTypes ArrayOfString

Filters access by the list of all instance types associated with the resource in the request

sagemaker:KeepAlivePeriod Numeric

Filters access by the keep-alive period associated with the resource in the request

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair

sagemaker:ResourceTag/${TagKey} String

Filters access by a tag key and value pair

Example IAM policy

A minimal policy that allows sagemaker:UpdateTrainingJob. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSagemakerUpdateTrainingJob",
      "Effect": "Allow",
      "Action": "sagemaker:UpdateTrainingJob",
      "Resource": "*"
    }
  ]
}

Related actions in sagemaker

View all sagemaker actions →