View a markdown version of this page

Actions, ressources et clés de condition pour AWS Notifications utilisateur - Référence de l'autorisation de service

Les traductions sont fournies par des outils de traduction automatique. En cas de conflit entre le contenu d'une traduction et celui de la version originale en anglais, la version anglaise prévaudra.

Actions, ressources et clés de condition pour AWS Notifications utilisateur

AWS Notifications aux utilisateurs (préfixe du service) : notifications) fournit les opérations, ressources, actions et clés de condition spécifiques au service suivantes à utiliser dans les politiques d'autorisation IAM.

Références :

Opérations d'API définies par AWS Notifications utilisateur

Le tableau suivant associe les opérations d'API aux actions IAM qu'elles autorisent. Seules les clés de condition qui ont des valeurs statiques pour l'API et l'action données sont répertoriées ; pour l'ensemble complet des clés de condition prises en charge par chaque action, consultez le Tableau des actions.

Opération Action IAM Clé de condition Valeur (s) possible (s) Niveau d’accès

AssociateChannel

notifications:AssociateChannel

Écrire

AssociateManagedNotificationAccountContact

notifications:AssociateManagedNotificationAccountContact

Écrire

notifications:SubscribeSensitiveEvents

Écrire

AssociateManagedNotificationAdditionalChannel

notifications:AssociateManagedNotificationAdditionalChannel

Écrire

notifications:SubscribeSensitiveEvents

Écrire

AssociateOrganizationalUnit

notifications:AssociateOrganizationalUnit

Écrire

CreateEventRule

notifications:CreateEventRule

Écrire

CreateNotificationConfiguration

notifications:CreateNotificationConfiguration

Écrire

notifications:TagResource

Marquer, écrire

DeleteEventRule

notifications:DeleteEventRule

Écrire

DeleteNotificationConfiguration

notifications:DeleteNotificationConfiguration

Écrire

DeregisterNotificationHub

notifications:DeregisterNotificationHub

Écrire

DisableNotificationsAccessForOrganization

notifications:DisableNotificationsAccessForOrganization

Gestion des autorisations, Rédaction

DisassociateChannel

notifications:DisassociateChannel

Écrire

DisassociateManagedNotificationAccountContact

notifications:DisassociateManagedNotificationAccountContact

Écrire

DisassociateManagedNotificationAdditionalChannel

notifications:DisassociateManagedNotificationAdditionalChannel

Écrire

DisassociateOrganizationalUnit

notifications:DisassociateOrganizationalUnit

Écrire

EnableNotificationsAccessForOrganization

notifications:EnableNotificationsAccessForOrganization

Gestion des autorisations, Rédaction

GetEventRule

notifications:GetEventRule

Lecture

GetManagedNotificationChildEvent

notifications:GetManagedNotificationChildEvent

Lecture

GetManagedNotificationConfiguration

notifications:GetManagedNotificationConfiguration

Lecture

GetManagedNotificationEvent

notifications:AccessSensitiveEvents

Lecture

notifications:GetManagedNotificationEvent

Lecture

GetNotificationConfiguration

notifications:GetNotificationConfiguration

Lecture

GetNotificationEvent

notifications:GetNotificationEvent

Lecture

GetNotificationsAccessForOrganization

notifications:GetNotificationsAccessForOrganization

Lecture

ListChannels

notifications:ListChannels

List

ListEventRules

notifications:ListEventRules

List

ListManagedNotificationChannelAssociations

notifications:ListManagedNotificationChannelAssociations

List

ListManagedNotificationChildEvents

notifications:ListManagedNotificationChildEvents

List

ListManagedNotificationConfigurations

notifications:ListManagedNotificationConfigurations

List

ListManagedNotificationEvents

notifications:AccessSensitiveEvents

Lecture

notifications:ListManagedNotificationEvents

List

ListMemberAccounts

notifications:ListMemberAccounts

List

ListNotificationConfigurations

notifications:ListNotificationConfigurations

List

ListNotificationEvents

notifications:ListNotificationEvents

List

ListNotificationHubs

notifications:ListNotificationHubs

List

ListOrganizationalUnits

notifications:ListOrganizationalUnits

List

ListTagsForResource

notifications:ListTagsForResource

List

RegisterNotificationHub

notifications:RegisterNotificationHub

Écrire

TagResource

notifications:TagResource

Marquer, écrire

UntagResource

notifications:UntagResource

Marquer, écrire

UpdateEventRule

notifications:UpdateEventRule

Écrire

UpdateManagedNotificationChannelAssociation

notifications:SubscribeSensitiveEvents

Écrire

notifications:UpdateManagedNotificationChannelAssociation

Écrire

UpdateNotificationConfiguration

notifications:UpdateNotificationConfiguration

Écrire

Actions définies par AWS Notifications utilisateur

Vous pouvez indiquer les actions suivantes dans l'élément Action d'une déclaration de politique IAM. Pour chaque action, le tableau répertorie les types de ressources et les clés de condition pris en charge par cette action. Utilisez des politiques pour accorder des autorisations permettant d'effectuer une opération dans AWS. Lorsque vous utilisez une action dans une politique, vous autorisez ou refusez généralement l'accès à l'opération d'API ou à la commande CLI portant le même nom. Toutefois, dans certains cas, une seule action contrôle l'accès à plusieurs opérations. D'autres opérations, quant à elles, requièrent plusieurs actions différentes.

Actions Description Types de ressources (*obligatoire) Clés de condition Niveau d’accès

AssociateChannel

Autorise l'association d'une nouvelle chaîne à une chaîne en particulier NotificationConfiguration

NotificationConfiguration*

aws:ResourceTag/${TagKey}

Écrire

AssociateManagedNotificationAccountContact

Autorise l'association d'un contact du compte à une configuration de notification gérée particulière

ManagedNotificationConfiguration*

Écrire

AssociateManagedNotificationAdditionalChannel

Autorise l'association d'un canal à une configuration de notification gérée particulière

ManagedNotificationConfiguration*

Écrire

AssociateOrganizationalUnit

Autorise l'association d'une unité organisationnelle à une configuration de notification particulière

NotificationConfiguration*

aws:ResourceTag/${TagKey}

Écrire

CreateEventRule

Autorise la création d'un nouveau EventRule, en l'associant à un NotificationConfiguration

Écrire

CreateNotificationConfiguration

Accorde l'autorisation de créer un NotificationConfiguration

aws:RequestTag/${TagKey}

aws:TagKeys

Écrire

DeleteEventRule

Autorise la suppression d'un EventRule

EventRule*

Écrire

DeleteNotificationConfiguration

Autorise la suppression d'un NotificationConfiguration

NotificationConfiguration*

aws:ResourceTag/${TagKey}

Écrire

DeregisterNotificationHub

Autorise le désenregistrement d'un NotificationHub

Écrire

DisableNotificationsAccessForOrganization

Autorise la désactivation de Service Trust pour AWS Notifications aux utilisateurs

Gestion des autorisations, Rédaction

DisassociateChannel

Autorise la suppression d'une chaîne d'un NotificationConfiguration

NotificationConfiguration*

aws:ResourceTag/${TagKey}

Écrire

DisassociateManagedNotificationAccountContact

Autorise la suppression d'un contact du compte d'une configuration de notification gérée

ManagedNotificationConfiguration*

Écrire

DisassociateManagedNotificationAdditionalChannel

Autorise la suppression d'un canal d'une configuration de notification gérée

ManagedNotificationConfiguration*

Écrire

DisassociateOrganizationalUnit

Autorise la suppression d'une unité organisationnelle d'un NotificationConfiguration

NotificationConfiguration*

aws:ResourceTag/${TagKey}

Écrire

EnableNotificationsAccessForOrganization

Autorise l'activation de Service Trust pour AWS Notifications aux utilisateurs

Gestion des autorisations, Rédaction

GetEventRule

Accorde l'autorisation d'obtenir un EventRule

EventRule*

Lecture

GetManagedNotificationChildEvent

Octroie l'autorisation d'obtenir un événement enfant de notification géré

ManagedNotificationChildEvent*

Lecture

GetManagedNotificationConfiguration

Octroie l'autorisation d'obtenir une configuration de notification gérée

ManagedNotificationConfiguration*

Lecture

GetManagedNotificationEvent

Octroie l'autorisation d'obtenir un compte géré NotificationEvent

ManagedNotificationEvent*

Lecture

GetNotificationConfiguration

Autorise l'obtention d'un NotificationConfiguration

NotificationConfiguration*

aws:ResourceTag/${TagKey}

Lecture

GetNotificationEvent

Autorise l'obtention d'un NotificationEvent

NotificationEvent*

Lecture

GetNotificationsAccessForOrganization

Autorise la lecture de Service Trust pour AWS Notifications aux utilisateurs

Lecture

ListChannels

Autorise à répertorier les chaînes par NotificationConfiguration

NotificationConfiguration*

aws:ResourceTag/${TagKey}

List

ListEventRules

Autorise la mise en vente EventRules

List

ListManagedNotificationChannelAssociations

Permet de répertorier les contacts du compte et les canaux associés à une configuration de notification gérée

ManagedNotificationConfiguration*

List

ListManagedNotificationChildEvents

Accorde l'autorisation de répertorier les événements mineurs liés aux notifications gérées

List

ListManagedNotificationConfigurations

Octroie l'autorisation de répertorier les configurations de notifications gérées

List

ListManagedNotificationEvents

Autorise la liste des événements de notification gérés

List

ListMemberAccounts

Autorise la mise en vente MemberAccounts par AdminNotificationConfiguration

NotificationConfiguration*

aws:ResourceTag/${TagKey}

List

ListNotificationConfigurations

Autorise la mise en vente NotificationConfigurations

List

ListNotificationEvents

Autorise la mise en vente NotificationEvents

List

ListNotificationHubs

Autorise la mise en vente NotificationHubs

List

ListOrganizationalUnits

Autorise à répertorier les unités organisationnelles par NotificationConfiguration

NotificationConfiguration*

aws:ResourceTag/${TagKey}

List

ListTagsForResource

Octroie l'autorisation d'obtenir les balises d'une ressource.

List

RegisterNotificationHub

Autorise l'enregistrement d'un NotificationHub

Écrire

TagResource

Accorde l'autorisation de baliser une ressource

NotificationConfiguration*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Marquer, écrire

UntagResource

Accorde l'autorisation de supprimer des identifications d'une ressource.

NotificationConfiguration*

aws:ResourceTag/${TagKey}

aws:TagKeys

Marquer, écrire

UpdateEventRule

Autorise la mise à jour d'un EventRule

EventRule*

Écrire

UpdateManagedNotificationChannelAssociation

Autorise l'activation de l'abonnement aux événements sensibles sur une association de canaux de notification gérée existante

ManagedNotificationConfiguration*

Écrire

UpdateNotificationConfiguration

Autorise la mise à jour d'un NotificationConfiguration

NotificationConfiguration*

aws:ResourceTag/${TagKey}

Écrire

Permission-only actions pour AWS Notifications utilisateur

Les actions suivantes sont définies par AWS Les notifications utilisateur ne sont pas directement invocables par le biais d'une opération d'API. Ils ne peuvent être utilisés que dans les déclarations de politique IAM pour accorder ou refuser des autorisations.

Actions Description Types de ressources (*obligatoire) Clés de condition Niveau d’accès

AccessSensitiveEvents

Autorise l'accès aux événements de notification sensibles

Lecture

GetFeatureOptInStatus

Autorise la lecture du statut d'opt-in d'un AWS Fonctionnalité du service de notification aux utilisateurs

Lecture

PutFeatureOptInStatus

Autorise la mise à jour du statut d'opt-in d'un AWS Fonctionnalité du service de notification aux utilisateurs

Écrire

SubscribeSensitiveEvents

Permet de s'abonner à des événements sensibles sur une association de canaux de notification gérée existante

ManagedNotificationConfiguration*

Écrire

Types de ressources définis par AWS Notifications utilisateur

Ce service définit les types de ressources suivants, qui peuvent être utilisés dans l' Resource élément des déclarations de politique d'autorisation IAM.

Types de ressources ARN Clés de condition

EventRule

arn:${Partition}:notifications::${Account}:configuration/${NotificationConfigurationId}/rule/${EventRuleId}

ManagedNotificationChildEvent

arn:${Partition}:notifications::${Account}:managed-notification-configuration/category/${Category}/sub-category/${Subcategory}/event/${NotificationEventId}/child-event/${NotificationChildEventId}

ManagedNotificationConfiguration

arn:${Partition}:notifications::${Account}:managed-notification-configuration/category/${Category}/sub-category/${Subcategory}

ManagedNotificationEvent

arn:${Partition}:notifications::${Account}:managed-notification-configuration/category/${Category}/sub-category/${Subcategory}/event/${NotificationEventId}

NotificationConfiguration

arn:${Partition}:notifications::${Account}:configuration/${NotificationConfigurationId}

aws:ResourceTag/${TagKey}

NotificationEvent

arn:${Partition}:notifications:${Region}:${Account}:configuration/${NotificationConfigurationId}/event/${NotificationEventId}

Clés de condition pour AWS Notifications utilisateur

AWS Les notifications utilisateur définissent les clés de condition suivantes qui peuvent être utilisées dans Condition élément d'une politique IAM.

Clés de condition Description Type

aws:RequestTag/${TagKey}

Filtre l'accès en fonction des identifications transmises dans la demande

String

aws:ResourceTag/${TagKey}

Filtre l'accès en fonction des identifications associées à la ressource

String

aws:TagKeys

Filtre l'accès en fonction des clés d'identification qui sont transmises dans la demande

ArrayOfString