workspaces:StopWorkspaces

Write

workspaces:StopWorkspaces is a Write access-level action in the workspaces service. Grants permission to stop AutoStop WorkSpaces

Resource types

ARNs that workspaces:StopWorkspaces can be scoped to in an IAM policy.

arn:${Partition}:workspaces:${Region}:${Account}:workspace/${WorkspaceId}
workspaceid

Condition keys

Keys you can use in the Condition block of a policy that grants workspaces:StopWorkspaces.

aws:ResourceTag/${TagKey} String

Filters access based on the tags associated with the resource

Example IAM policy

A minimal policy that allows workspaces:StopWorkspaces. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWorkspacesStopWorkspaces",
      "Effect": "Allow",
      "Action": "workspaces:StopWorkspaces",
      "Resource": "*"
    }
  ]
}

Related actions in workspaces

View all workspaces actions →