CmdID / aws / aws lightsail
aws lightsail tag-resource
Adds one or more tags to the specified Amazon Lightsail resource. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--resource-arnThe Amazon Resource Name (ARN) of the resource to which you want to add a tag.--resource-nameThe name of the resource to which you are adding tags.--tagsThe tag key and optional value.