workspaces-instances:TagResource

Tagging

workspaces-instances:TagResource is a Tagging access-level action in the workspaces-instances service. Grants permission to add user tags to resources in your account

Resource types

ARNs that workspaces-instances:TagResource can be scoped to in an IAM policy.

arn:${Partition}:workspaces-instances:${Region}:${Account}:workspaceinstance/${WorkspaceInstanceId}
WorkspaceInstanceId

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access based on the tags associated with the resource

Example IAM policy

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

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

Related actions in workspaces-instances

View all workspaces-instances actions →