Actions, resources, and condition keys for AWS End User Messaging Social
AWS End User Messaging Social (service prefix: social-messaging) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by AWS End User Messaging Social
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
AssociateWhatsAppBusinessAccount |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
social-messaging.amazonaws.com |
Write |
||
|
CreateWhatsAppFlow |
Write |
|||
|
CreateWhatsAppMessageTemplate |
Write |
|||
|
CreateWhatsAppMessageTemplateFromLibrary |
Write |
|||
|
CreateWhatsAppMessageTemplateMedia |
Write |
|||
|
DeleteWhatsAppFlow |
Write |
|||
|
DeleteWhatsAppMessageMedia |
Write |
|||
|
DeleteWhatsAppMessageTemplate |
Write |
|||
|
DeprecateWhatsAppFlow |
Write |
|||
|
DisassociateWhatsAppBusinessAccount |
Write |
|||
|
GetLinkedWhatsAppBusinessAccount |
Read |
|||
|
GetLinkedWhatsAppBusinessAccountPhoneNumber |
social-messaging:GetLinkedWhatsAppBusinessAccountPhoneNumber |
Read |
||
|
GetWhatsAppFlow |
Read |
|||
|
GetWhatsAppFlowPreview |
Read |
|||
|
GetWhatsAppMessageMedia |
Write |
|||
|
GetWhatsAppMessageTemplate |
Read |
|||
|
ListLinkedWhatsAppBusinessAccounts |
List |
|||
|
ListTagsForResource |
Read |
|||
|
ListWhatsAppFlowAssets |
List |
|||
|
ListWhatsAppFlows |
List |
|||
|
ListWhatsAppMessageTemplates |
List |
|||
|
ListWhatsAppTemplateLibrary |
List |
|||
|
PostWhatsAppMessageMedia |
Write |
|||
|
PublishWhatsAppFlow |
Write |
|||
|
PutWhatsAppBusinessAccountEventDestinations |
social-messaging:PutWhatsAppBusinessAccountEventDestinations |
Write |
||
iam:PassedToService |
social-messaging.amazonaws.com |
Write |
||
|
SendWhatsAppMessage |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateWhatsAppFlow |
Write |
|||
|
UpdateWhatsAppFlowAssets |
Write |
|||
|
UpdateWhatsAppMessageTemplate |
Write |
Actions defined by AWS End User Messaging Social
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in AWS. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to associate a WhatsApp Business Account with your AWS account |
Write |
|||
Grants permission to create a new WhatsApp Flow |
Write |
|||
Grants permission to create a WhatsApp message template |
Write |
|||
Grants permission to create a WhatsApp message template from Meta's template library |
Write |
|||
Grants permission to create media for WhatsApp message templates |
Write |
|||
Grants permission to delete a WhatsApp Flow |
Write |
|||
Grants permission to delete a media object from WhatsApp |
Write |
|||
Grants permission to delete a WhatsApp message template |
Write |
|||
Grants permission to deprecate a published WhatsApp Flow |
Write |
|||
Grants permission to disassociate a WhatsApp Business Account from your AWS account |
Write |
|||
Grants permission to view the details of a WhatsApp Business Account |
Read |
|||
Grants permission to view the details of a phone number |
Read |
|||
Grants permission to retrieve the metadata and status of a WhatsApp Flow |
Read |
|||
Grants permission to generate a web preview URL for testing a WhatsApp Flow |
Read |
|||
Grants permission to get a media object from WhatsApp |
Write |
|||
Grants permission to get details of a WhatsApp message template |
Read |
|||
Grants permission to view all of your WhatsApp Business Accounts |
List |
|||
Grants permission to list tags for a resource |
Read |
|||
Grants permission to list the assets of a WhatsApp Flow |
List |
|||
Grants permission to list all WhatsApp Flows for a WhatsApp Business Account |
List |
|||
Grants permission to list WhatsApp message templates |
List |
|||
Grants permission to list available templates from Meta's template library |
List |
|||
Grants permission to upload a media object to WhatsApp |
Write |
|||
Grants permission to publish a WhatsApp Flow |
Write |
|||
Grants permission to update a WhatsApp Business Accounts event destination |
Write |
|||
Grants permission to send a message through WhatsApp |
Write |
|||
Grants permission to add a tag to a resource |
Tagging, Write |
|||
Grants permission to remove a tag from a resource |
Tagging, Write |
|||
Grants permission to update the metadata of a WhatsApp Flow |
Write |
|||
Grants permission to update the Flow JSON definition of a WhatsApp Flow |
Write |
|||
Grants permission to update a WhatsApp message template |
Write |
Resource types defined by AWS End User Messaging Social
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:social-messaging:${Region}:${Account}:phone-number-id/${OriginationPhoneNumberId} |
||
arn:${Partition}:social-messaging:${Region}:${Account}:waba/${WabaId} |
Condition keys for AWS End User Messaging Social
AWS End User Messaging Social defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the tags that are passed in the request |
String |
|
Filters access by the tags associated with the resource |
String |
|
Filters access by the tag keys that are passed in the request |
ArrayOfString |