workspaces:CopyWorkspaceImage

Write

workspaces:CopyWorkspaceImage is a Write access-level action in the workspaces service. Grants permission to copy a WorkSpace image

Resource types

ARNs that workspaces:CopyWorkspaceImage 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:CopyWorkspaceImage.

aws:ResourceTag/${TagKey} String

Filters access based on the tags associated with the resource

Dependent actions

To use workspaces:CopyWorkspaceImage you may also need to grant:

Example IAM policy

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

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

Related actions in workspaces

View all workspaces actions →