aws xray tag-resource
Applies tags to an existing Amazon Web Services X-Ray group or sampling rule. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--resource-arnThe Amazon Resource Number (ARN) of an X-Ray group or sampling rule.--tagsA map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule.