View a markdown version of this page

Network Flow Monitor 的動作、資源和條件索引鍵 - 服務授權參考

Network Flow Monitor 的動作、資源和條件索引鍵

Network Flow Monitor (服務字首:networkflowmonitor) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

Network Flow Monitor 定義的 API 操作

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

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

CreateMonitor

networkflowmonitor:CreateMonitor

寫入

networkflowmonitor:TagResource

標記、寫入

CreateScope

networkflowmonitor:CreateScope

寫入

networkflowmonitor:TagResource

標記、寫入

DeleteMonitor

networkflowmonitor:DeleteMonitor

寫入

DeleteScope

networkflowmonitor:DeleteScope

寫入

GetMonitor

networkflowmonitor:GetMonitor

讀取

GetQueryResultsMonitorTopContributors

networkflowmonitor:GetQueryResultsMonitorTopContributors

讀取

GetQueryResultsWorkloadInsightsTopContributors

networkflowmonitor:GetQueryResultsWorkloadInsightsTopContributors

讀取

GetQueryResultsWorkloadInsightsTopContributorsData

networkflowmonitor:GetQueryResultsWorkloadInsightsTopContributorsData

讀取

GetQueryStatusMonitorTopContributors

networkflowmonitor:GetQueryStatusMonitorTopContributors

讀取

GetQueryStatusWorkloadInsightsTopContributors

networkflowmonitor:GetQueryStatusWorkloadInsightsTopContributors

讀取

GetQueryStatusWorkloadInsightsTopContributorsData

networkflowmonitor:GetQueryStatusWorkloadInsightsTopContributorsData

讀取

GetScope

networkflowmonitor:GetScope

讀取

ListMonitors

networkflowmonitor:ListMonitors

清單

ListScopes

networkflowmonitor:ListScopes

清單

ListTagsForResource

networkflowmonitor:ListTagsForResource

讀取

StartQueryMonitorTopContributors

networkflowmonitor:StartQueryMonitorTopContributors

寫入

StartQueryWorkloadInsightsTopContributors

networkflowmonitor:StartQueryWorkloadInsightsTopContributors

寫入

StartQueryWorkloadInsightsTopContributorsData

networkflowmonitor:StartQueryWorkloadInsightsTopContributorsData

寫入

StopQueryMonitorTopContributors

networkflowmonitor:StopQueryMonitorTopContributors

寫入

StopQueryWorkloadInsightsTopContributors

networkflowmonitor:StopQueryWorkloadInsightsTopContributors

寫入

StopQueryWorkloadInsightsTopContributorsData

networkflowmonitor:StopQueryWorkloadInsightsTopContributorsData

寫入

TagResource

networkflowmonitor:TagResource

標記、寫入

UntagResource

networkflowmonitor:UntagResource

標記、寫入

UpdateMonitor

networkflowmonitor:UpdateMonitor

寫入

UpdateScope

networkflowmonitor:UpdateScope

寫入

Network Flow Monitor 定義的動作

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

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

CreateMonitor

准許建立監控器

監視器*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateScope

准許建立範圍

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

DeleteMonitor

准許刪除監控器

監視器*

aws:ResourceTag/${TagKey}

寫入

DeleteScope

准許刪除範圍

範圍*

aws:ResourceTag/${TagKey}

寫入

GetMonitor

准許取得監控器的相關資訊

監視器*

aws:ResourceTag/${TagKey}

讀取

GetQueryResultsMonitorTopContributors

准許取得查詢的結果,該查詢會擷取監視器的最佳參與者資料

監視器*

aws:ResourceTag/${TagKey}

讀取

GetQueryResultsWorkloadInsightsTopContributors

准許取得查詢的結果,該查詢會擷取工作負載洞見的最佳參與者

範圍*

aws:ResourceTag/${TagKey}

讀取

GetQueryResultsWorkloadInsightsTopContributorsData

准許取得查詢的結果,該查詢會擷取工作負載洞見的最佳參與者資料點

範圍*

aws:ResourceTag/${TagKey}

讀取

GetQueryStatusMonitorTopContributors

准許取得查詢的狀態,該查詢會擷取監視器的最佳參與者資料

監視器*

aws:ResourceTag/${TagKey}

讀取

GetQueryStatusWorkloadInsightsTopContributors

准許取得查詢的狀態,該查詢會擷取工作負載洞見的最佳參與者

範圍*

aws:ResourceTag/${TagKey}

讀取

GetQueryStatusWorkloadInsightsTopContributorsData

准許取得查詢的狀態,該查詢會擷取工作負載洞見的最佳參與者資料點

範圍*

aws:ResourceTag/${TagKey}

讀取

GetScope

准許取得範圍的相關資訊

範圍*

aws:ResourceTag/${TagKey}

讀取

ListMonitors

准許列出帳戶中的所有監控器及其狀態

清單

ListScopes

准許取得帳戶的所有範圍

清單

ListTagsForResource

准許列出資源的標籤

監控

aws:ResourceTag/${TagKey}

讀取

scope

aws:ResourceTag/${TagKey}

發佈

准許發佈報告

寫入

StartQueryMonitorTopContributors

准許開始查詢,以擷取監視器的主要參與者資料

監視器*

aws:ResourceTag/${TagKey}

寫入

StartQueryWorkloadInsightsTopContributors

准許開始查詢,以擷取工作負載洞見的最佳參與者資料

範圍*

aws:ResourceTag/${TagKey}

寫入

StartQueryWorkloadInsightsTopContributorsData

准許開始查詢,以擷取工作負載洞見的最佳參與者資料點

範圍*

aws:ResourceTag/${TagKey}

寫入

StopQueryMonitorTopContributors

准許停止查詢,以擷取監視器的主要參與者資料

監視器*

aws:ResourceTag/${TagKey}

寫入

StopQueryWorkloadInsightsTopContributors

准許停止查詢,以擷取工作負載洞見的主要參與者

範圍*

aws:ResourceTag/${TagKey}

寫入

StopQueryWorkloadInsightsTopContributorsData

准許停止查詢,以擷取工作負載洞見的最佳參與者資料點

範圍*

aws:ResourceTag/${TagKey}

寫入

TagResource

准許將 標籤新增至資源

監控

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

scope

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

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

監控

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

scope

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateMonitor

准許更新監控器

監視器*

aws:ResourceTag/${TagKey}

寫入

UpdateScope

准許更新範圍

範圍*

aws:ResourceTag/${TagKey}

寫入

Network Flow Monitor 定義的資源類型

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

資源類型 ARN 條件索引鍵

監控

arn:${Partition}:networkflowmonitor:${Region}:${Account}:monitor/${MonitorName}

aws:ResourceTag/${TagKey}

範圍

arn:${Partition}:networkflowmonitor:${Region}:${Account}:scope/${ScopeId}

aws:ResourceTag/${TagKey}

Network Flow Monitor 的條件索引鍵

Network Flow Monitor 定義下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依請求中的標籤鍵值組篩選存取權

String

aws:ResourceTag/${TagKey}

依連接到資源的標籤鍵值對篩選存取權

String

aws:TagKeys

依請求中的標籤索引鍵篩選存取權

ArrayOfString