View a markdown version of this page

AWS 使用者通知的動作、資源和條件索引鍵 - 服務授權參考

AWS 使用者通知的動作、資源和條件索引鍵

AWS 使用者通知 (服務字首:notifications) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

AWS 使用者通知定義的 API 操作

下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。

作業 IAM 動作 條件鍵 可能的值 (s) 存取層級

AssociateChannel

通知:AssociateChannel

寫入

AssociateManagedNotificationAccountContact

notifications:AssociateManagedNotificationAccountContact

寫入

notifications:SubscribeSensitiveEvents

寫入

AssociateManagedNotificationAdditionalChannel

notifications:AssociateManagedNotificationAdditionalChannel

寫入

notifications:SubscribeSensitiveEvents

寫入

AssociateOrganizationalUnit

通知:AssociateOrganizationalUnit

寫入

CreateEventRule

通知:CreateEventRule

寫入

CreateNotificationConfiguration

notifications:CreateNotificationConfiguration

寫入

通知:TagResource

標記、寫入

DeleteEventRule

通知:DeleteEventRule

寫入

DeleteNotificationConfiguration

通知:DeleteNotificationConfiguration

寫入

DeregisterNotificationHub

notifications:DeregisterNotificationHub

寫入

DisableNotificationsAccessForOrganization

通知:DisableNotificationsAccessForOrganization

許可管理、寫入

DisassociateChannel

notifications:DisassociateChannel

寫入

DisassociateManagedNotificationAccountContact

notifications:DisassociateManagedNotificationAccountContact

寫入

DisassociateManagedNotificationAdditionalChannel

notifications:DisassociateManagedNotificationAdditionalChannel

寫入

DisassociateOrganizationalUnit

通知:DisassociateOrganizationalUnit

寫入

EnableNotificationsAccessForOrganization

通知:EnableNotificationsAccessForOrganization

許可管理、寫入

GetEventRule

notifications:GetEventRule

讀取

GetManagedNotificationChildEvent

notifications:GetManagedNotificationChildEvent

讀取

GetManagedNotificationConfiguration

notifications:GetManagedNotificationConfiguration

讀取

GetManagedNotificationEvent

通知:AccessSensitiveEvents

讀取

notifications:GetManagedNotificationEvent

讀取

GetNotificationConfiguration

notifications:GetNotificationConfiguration

讀取

GetNotificationEvent

notifications:GetNotificationEvent

讀取

GetNotificationsAccessForOrganization

notifications:GetNotificationsAccessForOrganization

讀取

ListChannels

notifications:ListChannels

清單

ListEventRules

通知:ListEventRules

清單

ListManagedNotificationChannelAssociations

notifications:ListManagedNotificationChannelAssociations

清單

ListManagedNotificationChildEvents

notifications:ListManagedNotificationChildEvents

清單

ListManagedNotificationConfigurations

notifications:ListManagedNotificationConfigurations

清單

ListManagedNotificationEvents

通知:AccessSensitiveEvents

讀取

notifications:ListManagedNotificationEvents

清單

ListMemberAccounts

notifications:ListMemberAccounts

清單

ListNotificationConfigurations

notifications:ListNotificationConfigurations

清單

ListNotificationEvents

notifications:ListNotificationEvents

清單

ListNotificationHubs

通知:ListNotificationHubs

清單

ListOrganizationalUnits

notifications:ListOrganizationalUnits

清單

ListTagsForResource

通知:ListTagsForResource

清單

RegisterNotificationHub

notifications:RegisterNotificationHub

寫入

TagResource

通知:TagResource

標記、寫入

UntagResource

通知:UntagResource

標記、寫入

UpdateEventRule

通知:UpdateEventRule

寫入

UpdateNotificationConfiguration

notifications:UpdateNotificationConfiguration

寫入

AWS 使用者通知定義的動作

您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。

動作 說明 資源類型 (*必填項目) 條件索引鍵 存取層級

AssociateChannel

准許將新頻道與特定 NotificationConfiguration 建立關聯

NotificationConfiguration*

aws:ResourceTag/${TagKey}

寫入

AssociateManagedNotificationAccountContact

准許將帳戶聯絡人與特定受管通知組態建立關聯

ManagedNotificationConfiguration*

寫入

AssociateManagedNotificationAdditionalChannel

准許將頻道與特定受管通知組態建立關聯

ManagedNotificationConfiguration*

寫入

AssociateOrganizationalUnit

准許將組織單位與特定通知組態建立關聯

NotificationConfiguration*

aws:ResourceTag/${TagKey}

寫入

CreateEventRule

准許建立新 EventRule,並將其與 NotificationConfiguration 建立關聯

寫入

CreateNotificationConfiguration

准許建立 NotificationConfiguration

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

DeleteEventRule

准許刪除 EventRule

EventRule*

寫入

DeleteNotificationConfiguration

准許刪除 NotificationConfiguration

NotificationConfiguration*

aws:ResourceTag/${TagKey}

寫入

DeregisterNotificationHub

准許取消註冊 NotificationHub

寫入

DisableNotificationsAccessForOrganization

准許停用 AWS 使用者通知的服務信任

許可管理、寫入

DisassociateChannel

准許從 NotificationConfiguration 移除頻道

NotificationConfiguration*

aws:ResourceTag/${TagKey}

寫入

DisassociateManagedNotificationAccountContact

准許從受管通知組態中移除帳戶聯絡人

ManagedNotificationConfiguration*

寫入

DisassociateManagedNotificationAdditionalChannel

准許從受管通知組態中移除頻道

ManagedNotificationConfiguration*

寫入

DisassociateOrganizationalUnit

准許從 NotificationConfiguration 中移除組織單位

NotificationConfiguration*

aws:ResourceTag/${TagKey}

寫入

EnableNotificationsAccessForOrganization

准許為 AWS 使用者通知啟用服務信任

許可管理、寫入

GetEventRule

准許取得 EventRule

EventRule*

讀取

GetManagedNotificationChildEvent

准許取得受管通知子事件

ManagedNotificationChildEvent*

讀取

GetManagedNotificationConfiguration

准許取得受管通知組態

ManagedNotificationConfiguration*

讀取

GetManagedNotificationEvent

准許取得受管 NotificationEvent

ManagedNotificationEvent*

讀取

GetNotificationConfiguration

准許取得 NotificationConfiguration

NotificationConfiguration*

aws:ResourceTag/${TagKey}

讀取

GetNotificationEvent

准許取得 NotificationEvent

NotificationEvent*

讀取

GetNotificationsAccessForOrganization

准許讀取 AWS 使用者通知的服務信任

讀取

ListChannels

准許列出 NotificationConfiguration 頻道

NotificationConfiguration*

aws:ResourceTag/${TagKey}

清單

ListEventRules

准許列出 EventRule

清單

ListManagedNotificationChannelAssociations

准許列出與受管通知組態相關聯的帳戶聯絡人和頻道

ManagedNotificationConfiguration*

清單

ListManagedNotificationChildEvents

准許列出受管通知子事件

清單

ListManagedNotificationConfigurations

准許列出受管通知組態

清單

ListManagedNotificationEvents

准許列出受管通知事件

清單

ListMemberAccounts

准許依 AdminNotificationConfiguration 列出 MemberAccounts

NotificationConfiguration*

aws:ResourceTag/${TagKey}

清單

ListNotificationConfigurations

准許列出 NotificationConfigurations

清單

ListNotificationEvents

准許列出 NotificationEvents

清單

ListNotificationHubs

准許列出 NotificationHubs

清單

ListOrganizationalUnits

准許依 NotificationConfiguration 列出組織單位

NotificationConfiguration*

aws:ResourceTag/${TagKey}

清單

ListTagsForResource

准許取得資源標籤

清單

RegisterNotificationHub

准許註冊 NotificationHub

寫入

TagResource

准許標記資源

NotificationConfiguration*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

UntagResource

授予許可來從資源中移除標籤

NotificationConfiguration*

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

UpdateEventRule

准許更新 EventRule

EventRule*

寫入

UpdateManagedNotificationChannelAssociation

准許在現有的受管通知管道關聯上切換敏感事件訂閱

ManagedNotificationConfiguration*

寫入

UpdateNotificationConfiguration

准許更新 NotificationConfiguration

NotificationConfiguration*

aws:ResourceTag/${TagKey}

寫入

AWS 使用者通知的僅限許可動作

下列動作是由 AWS 使用者通知定義,但無法透過任何 API 操作直接叫用。它們只能在 IAM 政策陳述式中使用,以授予或拒絕許可。

動作 說明 資源類型 (*必填項目) 條件索引鍵 存取層級

AccessSensitiveEvents

准許存取敏感的通知事件

讀取

GetFeatureOptInStatus

准許讀取 AWS 使用者通知服務功能的選擇加入狀態

讀取

PutFeatureOptInStatus

准許更新 AWS 使用者通知服務功能的選擇加入狀態

寫入

SubscribeSensitiveEvents

准許訂閱現有受管通知管道關聯上的敏感事件

ManagedNotificationConfiguration*

寫入

AWS 使用者通知定義的資源類型

此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。

資源類型 ARN 條件索引鍵

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}

AWS 使用者通知的條件索引鍵

AWS 使用者通知定義下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依要求中傳遞的標籤來篩選存取權

String

aws:ResourceTag/${TagKey}

依與資源關聯的標籤來篩選存取權

String

aws:TagKeys

依要求中傳遞的標籤索引鍵來篩選存取權

ArrayOfString