sagemaker:UpdateCluster

Write

sagemaker:UpdateCluster is a Write access-level action in the sagemaker service. Grants permission to update a SageMaker HyperPod cluster

Resource types

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

arn:${Partition}:sagemaker:${Region}:${Account}:cluster/${ClusterId} required
cluster
arn:${Partition}:sagemaker:${Region}:${Account}:reserved-capacity/${RandomString}
reserved-capacity
arn:${Partition}:sagemaker:${Region}:${Account}:training-plan/${TrainingPlanName}
training-plan

Condition keys

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

sagemaker:InstanceTypes ArrayOfString

Filters access by the list of all instance types 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

sagemaker:VpcSubnets ArrayOfString

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

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

Related actions in sagemaker

View all sagemaker actions →