sagemaker:CreateTrainingJob

Write

sagemaker:CreateTrainingJob is a Write access-level action in the sagemaker service. Grants permission to start a model training job. After training completes, Amazon SageMaker saves the resulting model artifacts and other optional output to an Amazon S3 location that you specify

Resource types

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

arn:${Partition}:sagemaker:${Region}:${Account}:training-job/${TrainingJobName}
training-job
arn:${Partition}:sagemaker:${Region}:${Account}:reserved-capacity/${RandomString}
reserved-capacity
arn:${Partition}:sagemaker:${Region}:${Account}:training-plan/${TrainingPlanName}
training-plan

Condition keys

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

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

Dependent actions

To use sagemaker:CreateTrainingJob you may also need to grant:

Example IAM policy

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

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

Related actions in sagemaker

View all sagemaker actions →