sagemaker:CreateLabelingJob

Write

sagemaker:CreateLabelingJob is a Write access-level action in the sagemaker service. Grants permission to start a labeling job. A labeling job takes unlabeled data in and produces labeled data as output, which can be used for training SageMaker models

Resource types

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

arn:${Partition}:sagemaker:${Region}:${Account}:labeling-job/${LabelingJobName} required
labeling-job

Condition keys

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

aws:RequestTag/${TagKey} String

Filters access by a key that is present in the request the user makes to the SageMaker service

aws:TagKeys ArrayOfString

Filters access by the list of all the tag key names associated with the resource in the request

sagemaker:OutputKmsKeyArn ARN

Filters access by the output kms key associated with the resource in the request. The ARN of the key-id must be used

sagemaker:VolumeKmsKeyArn ARN

Filters access by the volume kms key associated with the resource in the request. The ARN of the key-id must be used

sagemaker:WorkteamArn ARN

Filters access by the workteam arn associated to the request

sagemaker:WorkteamType String

Filters access by the workteam type associated to the request. This can be public-crowd, private-crowd or vendor-crowd

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:CreateLabelingJob. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in sagemaker

View all sagemaker actions →