sagemaker:DeleteNotebookInstance is a Write access-level action in the sagemaker service. Grants permission to delete a Amazon SageMaker notebook instance. Before you can delete a notebook instance, you must call the StopNotebookInstance API
ARNs that sagemaker:DeleteNotebookInstance can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants sagemaker:DeleteNotebookInstance.
Filters access by a tag key and value pair
Filters access by a tag key and value pair
A minimal policy that allows sagemaker:DeleteNotebookInstance. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSagemakerDeleteNotebookInstance",
"Effect": "Allow",
"Action": "sagemaker:DeleteNotebookInstance",
"Resource": "*"
}
]
}