sagemaker:UpdateUserProfile

Write

sagemaker:UpdateUserProfile is a Write access-level action in the sagemaker service. Grants permission to update a UserProfile

Resource types

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

arn:${Partition}:sagemaker:${Region}:${Account}:user-profile/${DomainId}/${UserProfileName} required
user-profile

Condition keys

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

sagemaker:DomainSharingOutputKmsKeyArn ARN

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

sagemaker:ImageArns ArrayOfARN

Filters access by the list of all image arns associated with the resource in the request

sagemaker:ImageVersionArns ArrayOfARN

Filters access by the list of all image version arns associated with the resource in the request

sagemaker:InstanceTypes ArrayOfString

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

sagemaker:StudioLifecycleConfigArns ArrayOfARN

Filters access by the list of lifecycle configuration ARNs associated with the resource in the request

sagemaker:VpcSecurityGroupIds ArrayOfString

Filters access by the list of all VPC security group ids 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:UpdateUserProfile. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in sagemaker

View all sagemaker actions →