aws aiops tag-resource
Assigns one or more tags (key-value pairs) to the specified resource. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--resource-arnThe Amazon Resource Name (ARN) of the resource that you want to apply the tags to.--tagsThe list of key-value pairs to associate with the resource.