workspaces-web:TagResource

Tagging

workspaces-web:TagResource is a Tagging access-level action in the workspaces-web service. Grants permission to add one or more tags to a resource

Resource types

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

arn:${Partition}:workspaces-web:${Region}:${Account}:browserSettings/${BrowserSettingsId}
browserSettings
arn:${Partition}:workspaces-web:${Region}:${Account}:dataProtectionSettings/${DataProtectionSettingsId}
dataProtectionSettings
arn:${Partition}:workspaces-web:${Region}:${Account}:identityProvider/${PortalId}/${IdentityProviderId}
identityProvider
arn:${Partition}:workspaces-web:${Region}:${Account}:ipAccessSettings/${IpAccessSettingsId}
ipAccessSettings
arn:${Partition}:workspaces-web:${Region}:${Account}:networkSettings/${NetworkSettingsId}
networkSettings
arn:${Partition}:workspaces-web:${Region}:${Account}:portal/${PortalId}
portal
arn:${Partition}:workspaces-web:${Region}:${Account}:sessionLogger/${SessionLoggerId}
sessionLogger
arn:${Partition}:workspaces-web:${Region}:${Account}:trustStore/${TrustStoreId}
trustStore
arn:${Partition}:workspaces-web:${Region}:${Account}:userAccessLoggingSettings/${UserAccessLoggingSettingsId}
userAccessLoggingSettings
arn:${Partition}:workspaces-web:${Region}:${Account}:userSettings/${UserSettingsId}
userSettings

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in workspaces-web

View all workspaces-web actions →