的操作、资源和条件键 AWS 用户通知
AWS 用户通知(服务前缀:notifications)提供以下特定于服务的操作、资源、操作和条件密钥,供在 IAM 权限策略中使用。
参考:
-
了解如何配置该服务。
-
了解如何使用 IAM 权限策略保护该服务及其资源。
-
查看此服务的编程服务授权参考
。
API 操作定义为 AWS 用户通知
下表将 API 操作映射到它们授权的 IAM 操作。仅列出具有给定 API 和操作的静态值的条件键;有关每个操作支持的完整条件键集,请参阅操作表。
| 操作 | IAM 操作 | 条件键 | 可能的值 | 访问级别 |
|---|---|---|---|---|
|
AssociateChannel |
写入 |
|||
|
AssociateManagedNotificationAccountContact |
写入 |
|||
写入 |
||||
|
AssociateManagedNotificationAdditionalChannel |
写入 |
|||
写入 |
||||
|
AssociateOrganizationalUnit |
写入 |
|||
|
CreateEventRule |
写入 |
|||
|
CreateNotificationConfiguration |
写入 |
|||
标记、写作 |
||||
|
DeleteEventRule |
写入 |
|||
|
DeleteNotificationConfiguration |
写入 |
|||
|
DeregisterNotificationHub |
写入 |
|||
|
DisableNotificationsAccessForOrganization |
权限管理,写入 |
|||
|
DisassociateChannel |
写入 |
|||
|
DisassociateManagedNotificationAccountContact |
写入 |
|||
|
DisassociateManagedNotificationAdditionalChannel |
写入 |
|||
|
DisassociateOrganizationalUnit |
写入 |
|||
|
EnableNotificationsAccessForOrganization |
权限管理,写入 |
|||
|
GetEventRule |
读取 |
|||
|
GetManagedNotificationChildEvent |
读取 |
|||
|
GetManagedNotificationConfiguration |
读取 |
|||
|
GetManagedNotificationEvent |
读取 |
|||
读取 |
||||
|
GetNotificationConfiguration |
读取 |
|||
|
GetNotificationEvent |
读取 |
|||
|
GetNotificationsAccessForOrganization |
读取 |
|||
|
ListChannels |
列表 |
|||
|
ListEventRules |
列表 |
|||
|
ListManagedNotificationChannelAssociations |
列表 |
|||
|
ListManagedNotificationChildEvents |
列表 |
|||
|
ListManagedNotificationConfigurations |
列表 |
|||
|
ListManagedNotificationEvents |
读取 |
|||
列表 |
||||
|
ListMemberAccounts |
列表 |
|||
|
ListNotificationConfigurations |
列表 |
|||
|
ListNotificationEvents |
列表 |
|||
|
ListNotificationHubs |
列表 |
|||
|
ListOrganizationalUnits |
列表 |
|||
|
ListTagsForResource |
列表 |
|||
|
RegisterNotificationHub |
写入 |
|||
|
TagResource |
标记、写作 |
|||
|
UntagResource |
标记、写作 |
|||
|
UpdateEventRule |
写入 |
|||
|
UpdateNotificationConfiguration |
写入 |
操作定义为 AWS 用户通知
您可以在 IAM 策略语句的 Action 元素中指定以下操作。可以使用策略授予在 AWS中执行操作的权限。您在策略中使用一项操作时,通常使用相同的名称允许或拒绝对 API 操作或 CLI 命令的访问。但在某些情况下,单一动作可控制对多项操作的访问。还有某些操作需要多种不同的动作。
| 操作 | 说明 | 资源类型(* 为必需) | 条件键 | 访问级别 |
|---|---|---|---|---|
授予将新频道与特定频道关联的权限 NotificationConfiguration |
写入 |
|||
授予权限以将账户联系人与特定的托管式通知配置关联 |
写入 |
|||
授予权限以将渠道与特定的托管式通知配置关联 |
写入 |
|||
授予权限以将组织单元与特定的托管式通知配置关联 |
写入 |
|||
授予创建新内容 EventRule并将其与关联的权限 NotificationConfiguration |
写入 |
|||
授予创建 NotificationConfiguration |
写入 |
|||
授予删除的权限 EventRule |
写入 |
|||
授予删除权限 NotificationConfiguration |
写入 |
|||
授予注销注册的权限 NotificationHub |
写入 |
|||
授予禁用 AWS 用户通知的服务信任的权限 |
权限管理,写入 |
|||
授予从中移除频道的权限 NotificationConfiguration |
写入 |
|||
授予权限以从托管式通知配置中移除账户联系人 |
写入 |
|||
授予权限以从托管式通知配置中移除渠道 |
写入 |
|||
授予从中移除组织单位的权限 NotificationConfiguration |
写入 |
|||
授予为 AWS 用户通知启用 “服务信任” 的权限 |
权限管理,写入 |
|||
授予获取 EventRule |
读取 |
|||
授予权限以获取托管式通知子事件 |
读取 |
|||
授予权限以获取托管式通知配置 |
读取 |
|||
授予获取托管版的权限 NotificationEvent |
读取 |
|||
授予获取 NotificationConfiguration |
读取 |
|||
授予获取 NotificationEvent |
读取 |
|||
授予读取 “ AWS 用户通知的服务信任” 的权限 |
读取 |
|||
授予按以下方式列出频道的权限 NotificationConfiguration |
列表 |
|||
授予上架权限 EventRules |
列表 |
|||
授予权限以列出与托管式通知配置关联的账户联系人和渠道 |
列表 |
|||
授予权限以列出托管式通知子事件 |
列表 |
|||
授予权限以列出托管式通知配置 |
列表 |
|||
授予权限以列出托管式通知事件 |
列表 |
|||
授予发布者列 MemberAccounts 出的权限 AdminNotificationConfiguration |
列表 |
|||
授予上架权限 NotificationConfigurations |
列表 |
|||
授予上架权限 NotificationEvents |
列表 |
|||
授予上架权限 NotificationHubs |
列表 |
|||
授予按以下方式列出组织单位的权限 NotificationConfiguration |
列表 |
|||
授予权限以获取资源的标签 |
列表 |
|||
授予注册权限 NotificationHub |
写入 |
|||
授予权限以标记资源 |
标记、写作 |
|||
授予权限以从资源中删除标签 |
标记、写作 |
|||
授予更新权限 EventRule |
写入 |
|||
授予在现有托管通知渠道关联上切换敏感事件订阅的权限 |
写入 |
|||
授予更新权限 NotificationConfiguration |
写入 |
Permission-only 的动作 AWS 用户通知
以下操作由 AWS 用户通知定义,但不能通过任何 API 操作直接调用。它们只能在 IAM 策略声明中用于授予或拒绝权限。
| 操作 | 说明 | 资源类型(* 为必需) | 条件键 | 访问级别 |
|---|---|---|---|---|
授予访问敏感通知事件的权限 |
读取 |
|||
授予读取 AWS 用户通知服务功能的选择加入状态的权限 |
读取 |
|||
授予更新 AWS 用户通知服务功能的选择加入状态的权限 |
写入 |
|||
授予在现有托管通知渠道关联上订阅敏感事件的权限 |
写入 |
由定义的资源类型 AWS 用户通知
以下资源类型是由该服务定义的,可以在 IAM 权限策略语句的 Resource 元素中使用这些资源类型。
| 资源类型 | ARN | 条件键 |
|---|---|---|
arn: $ {Partition}: 通知:: $ {账户}: configuration/$ {} /rule/$ {} NotificationConfigurationId EventRuleId |
||
arn: $ {Partition}: 通知:: $ {账户}: managed-notification-configuration/category /$ {类别} /子类别/$ {子类别} /event/$ {} /childevent/$ {} /childevent/$ {} NotificationEventId NotificationChildEventId |
||
arn: $ {Partition}: 通知:: $ {账户}: managed-notification-configuration/category /$ {Category} /subcategory/$ {子类别} |
||
arn: $ {Partition}: 通知:: $ {账户}: managed-notification-configuration/category /$ {Category} /subcategory/$ {Subcategory} /event/$ {} NotificationEventId |
||
arn: $ {Partition}: 通知:: $ {账户}: configuration/$ {} NotificationConfigurationId |
||
arn:$ {Partition}: 通知:$ {Region}: $ {Account}: configuration/$ {} /event/$ {} NotificationConfigurationId NotificationEventId |
的条件键 AWS 用户通知
AWS 用户通知定义了可在 IAM 策略Condition元素中使用的以下条件键。
| 条件键 | 描述 | 类型 |
|---|---|---|
按请求中传递的标签筛选访问权限 |
字符串 |
|
按与资源关联的标签筛选访问权限 |
字符串 |
|
按请求中传递的标签键筛选访问权限 |
ArrayOfString |