Tag Resource
ssmcontacts_tag_resource | R Documentation |
Tags a contact or escalation plan¶
Description¶
Tags a contact or escalation plan. You can tag only contacts and escalation plans in the first region of your replication set.
Usage¶
ssmcontacts_tag_resource(ResourceARN, Tags)
Arguments¶
ResourceARN |
[required] The Amazon Resource Name (ARN) of the contact or escalation plan. |
Tags |
[required] A list of tags that you are adding to the contact or escalation plan. |
Value¶
An empty list.
Request syntax¶
svc$tag_resource(
ResourceARN = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
Examples¶
## Not run:
# The following tag-resource example tags a specified contact with the
# provided tag key value pair.
svc$tag_resource(
ResourceARN = "arn:aws:ssm-contacts:us-east-1:111122223333:contact/akuam",
Tags = list(
list(
Key = "group1",
Value = "1"
)
)
)
## End(Not run)