sagemaker:CreatePresignedDomainUrl

Write

sagemaker:CreatePresignedDomainUrl is a Write access-level action in the sagemaker service. Grants permission to return a URL that you can use from your browser to connect to the Domain as a specified UserProfile when AuthMode is 'IAM'

Resource types

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

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

Condition keys

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

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

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

Related actions in sagemaker

View all sagemaker actions →