CmdID / aws / aws workspaces
aws workspaces create-tags
Creates the specified tags for the specified WorkSpaces resource. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To add tags to a WorkSpace
The following create-tags example adds the specified tags to the specified WorkSpace.
aws workspaces create-tags --resource-id ws-dk1xzr417 --tags Key=Department,Value=FinanceIdentify--resource-idThe identifier of the WorkSpaces resource.--tagsThe tags.This command produces no output.
For more information, see Tag WorkSpaces resources in the Amazon WorkSpaces Administration Guide.
Options
--resource-idThe identifier of the WorkSpaces resource.--tagsThe tags.