Assigns one or more tags (key-value pairs) to the specified CloudWatch Logs resource. Currently, the only CloudWatch Logs resources that can be tagged are log groups and destinations.
See https://www.paws-r-sdk.com/docs/cloudwatchlogs_tag_resource/ for full documentation.
cloudwatchlogs_tag_resource(resourceArn, tags)
[required] The ARN of the resource that you're adding tags to.
The ARN format of a log group is
arn:aws:logs:Region:account-id:log-group:log-group-name
The ARN format of a destination is
arn:aws:logs:Region:account-id:destination:destination-name
For more information about ARN format, see CloudWatch Logs resources and operations.
[required] The list of key-value pairs to associate with the resource.