social-messaging:GetLinkedWhatsAppBusinessAccountPhoneNumber

Read

social-messaging:GetLinkedWhatsAppBusinessAccountPhoneNumber is a Read access-level action in the social-messaging service. Grants permission to view the details of a phone number

Resource types

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

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

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in social-messaging

View all social-messaging actions →