CmdID / aws / aws route53resolver
aws route53resolver tag-resource
Adds one or more tags to a specified resource. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To associate tags with a Resolver resource
The following tag-resource example associates two tag key/value pairs with the specified Resolver rule.
aws route53resolver tag-resource --resource-arn "arn:aws:route53resolver:us-west-2:123456789012:resolver-rule/rslvr-rr-42b60677c0example" --tags "Key=my-key-1,Value=my-value-1" "Key=my-key-2,Value=my-value-2"Identify--resource-arnThe Amazon Resource Name (ARN) for the resource that you want to add tags to.--tagsThe tags that you want to add to the specified resource.This command produces no output.
For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
Options
--resource-arnThe Amazon Resource Name (ARN) for the resource that you want to add tags to.--tagsThe tags that you want to add to the specified resource.