sagemaker:UpdateNotebookInstance

Write

sagemaker:UpdateNotebookInstance is a Write access-level action in the sagemaker service. Grants permission to update a notebook instance. Notebook instance updates include upgrading or downgrading the EC2 instance used for your notebook instance to accommodate changes in your workload requirements

Resource types

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

arn:${Partition}:sagemaker:${Region}:${Account}:notebook-instance/${NotebookInstanceName} required
notebook-instance

Condition keys

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

sagemaker:AcceleratorTypes ArrayOfString

Filters access by the list of all accelerator types 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:MinimumInstanceMetadataServiceVersion String

Filters access by the minimum instance metadata service version used by the resource in the request

sagemaker:NotebookInstanceLifecycleConfigArns ArrayOfARN

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

sagemaker:RootAccess String

Filters access by the root access 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:UpdateNotebookInstance. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in sagemaker

View all sagemaker actions →