sagemaker:DeleteEndpoint

Write

sagemaker:DeleteEndpoint is a Write access-level action in the sagemaker service. Grants permission to delete an endpoint. Amazon SageMaker frees up all the resources that were deployed when the endpoint was created

Resource types

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

arn:${Partition}:sagemaker:${Region}:${Account}:endpoint/${EndpointName}
endpoint

Condition keys

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

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

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

Related actions in sagemaker

View all sagemaker actions →