social-messaging:GetWhatsAppMessageMedia

Write

social-messaging:GetWhatsAppMessageMedia is a Write access-level action in the social-messaging service. Grants permission to get a media object from WhatsApp

Resource types

ARNs that social-messaging:GetWhatsAppMessageMedia 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:GetWhatsAppMessageMedia.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in social-messaging

View all social-messaging actions →