social-messaging:TagResource

Tagging

social-messaging:TagResource is a Tagging access-level action in the social-messaging service. Grants permission to add a tag to a resource

Resource types

ARNs that social-messaging:TagResource can be scoped to in an IAM policy.

arn:${Partition}:social-messaging:${Region}:${Account}:phone-number-id/${OriginationPhoneNumberId}
phone-number-id
arn:${Partition}:social-messaging:${Region}:${Account}:waba/${WabaId}
waba

Condition keys

Keys you can use in the Condition block of a policy that grants social-messaging:TagResource.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows social-messaging:TagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSocialmessagingTagResource",
      "Effect": "Allow",
      "Action": "social-messaging:TagResource",
      "Resource": "*"
    }
  ]
}

Related actions in social-messaging

View all social-messaging actions →