workspaces:UpdateWorkspaceImagePermission

Permissions management

workspaces:UpdateWorkspaceImagePermission is a Permissions management access-level action in the workspaces service. Grants permission to share or unshare WorkSpace images with other accounts by specifying whether other accounts have permission to copy the image

Resource types

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

arn:${Partition}:workspaces:${Region}:${Account}:workspaceimage/${ImageId}
workspaceimage

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access based on the tags associated with the resource

Example IAM policy

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

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

Related actions in workspaces

View all workspaces actions →