View a markdown version of this page

AWS Resource Explorer 的動作、資源和條件索引鍵 - 服務授權參考

AWS Resource Explorer 的動作、資源和條件索引鍵

AWS Resource Explorer (服務字首:resource-explorer-2) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

AWS Resource Explorer 定義的 API 操作

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

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

AssociateDefaultView

resource-explorer-2:AssociateDefaultView

寫入

BatchGetView

resource-explorer-2:BatchGetView

讀取

resource-explorer-2:GetView

讀取

CreateIndex

resource-explorer-2:CreateIndex

寫入

resource-explorer-2:TagResource

標記、寫入

CreateResourceExplorerSetup

resource-explorer-2:CreateResourceExplorerSetup

寫入

CreateView

resource-explorer-2:CreateView

寫入

resource-explorer-2:TagResource

標記、寫入

DeleteIndex

resource-explorer-2:DeleteIndex

寫入

DeleteResourceExplorerSetup

resource-explorer-2:DeleteResourceExplorerSetup

寫入

DeleteView

resource-explorer-2:DeleteView

寫入

DisassociateDefaultView

resource-explorer-2:DisassociateDefaultView

寫入

GetAccountLevelServiceConfiguration

resource-explorer-2:GetAccountLevelServiceConfiguration

讀取

GetDefaultView

resource-explorer-2:GetDefaultView

讀取

GetIndex

resource-explorer-2:GetIndex

讀取

GetManagedView

resource-explorer-2:GetManagedView

讀取

GetResourceExplorerSetup

resource-explorer-2:GetResourceExplorerSetup

讀取

GetServiceIndex

resource-explorer-2:GetServiceIndex

讀取

GetServiceView

resource-explorer-2:GetServiceView

讀取

GetView

resource-explorer-2:GetView

讀取

ListIndexes

resource-explorer-2:ListIndexes

清單

ListIndexesForMembers

resource-explorer-2:ListIndexesForMembers

清單

ListManagedViews

resource-explorer-2:ListManagedViews

清單

ListResources

resource-explorer-2:Search

讀取

ListServiceIndexes

resource-explorer-2:ListServiceIndexes

清單

ListServiceViews

resource-explorer-2:ListServiceViews

清單

ListStreamingAccessForServices

resource-explorer-2:ListStreamingAccessForServices

清單

ListSupportedResourceTypes

resource-explorer-2:ListSupportedResourceTypes

清單

ListTagsForResource

resource-explorer-2:ListTagsForResource

讀取

ListViews

resource-explorer-2:ListViews

清單

搜尋

resource-explorer-2:Search

讀取

TagResource

resource-explorer-2:TagResource

標記、寫入

UntagResource

resource-explorer-2:UntagResource

標記、寫入

UpdateIndexType

resource-explorer-2:UpdateIndexType

寫入

UpdateView

resource-explorer-2:UpdateView

寫入

AWS Resource Explorer 定義的動作

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

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

AssociateDefaultView

准許將指定的檢視設定為此 AWS 區域 中的預設值 AWS 帳戶

寫入

BatchGetView

准許擷取有關您透過 ARN 清單指定之檢視的詳細資訊

讀取

CreateIndex

准許透過建立索引,在呼叫此操作 AWS 區域 的 中開啟 Resource Explorer

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateResourceExplorerSetup

准許建立資源瀏覽器設定

寫入

CreateView

准許建立使用者可以查詢的檢視

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

DeleteIndex

准許 AWS 區域 透過刪除索引,在指定的 中關閉 Resource Explorer

索引*

aws:ResourceTag/${TagKey}

寫入

DeleteResourceExplorerSetup

准許刪除資源總管設定

寫入

DeleteView

准許刪除檢視

檢視*

aws:ResourceTag/${TagKey}

寫入

DisassociateDefaultView

准許移除您呼叫此操作 AWS 區域 之 的預設檢視

寫入

GetAccountLevelServiceConfiguration

准許 Resource Explorer 存取 AWS 組織內的帳戶層級資料

讀取

GetDefaultView

准許擷取 AWS 區域 您呼叫此操作之 的預設檢視的 Amazon 資源名稱 (ARN)

讀取

GetIndex

准許在您呼叫此操作的 AWS 區域 中擷取索引的相關資訊

讀取

GetManagedView

准許取得受管檢視

受管檢視*

讀取

GetResourceExplorerSetup

准許取得資源總管設定

讀取

GetServiceIndex

准許取得服務索引

讀取

GetServiceView

准許取得服務檢視

讀取

GetView

准許擷取指定檢視的相關資訊

檢視*

aws:ResourceTag/${TagKey}

讀取

ListIndexes

准許列出所有 中的索引 AWS 區域

清單

ListIndexesForMembers

准許在所有 中列出組織成員帳戶的索引 AWS 區域

清單

ListManagedViews

准許列出受管檢視

清單

ListServiceIndexes

准許列出所有 中的服務索引 AWS 區域

清單

ListServiceViews

准許列出所有 中的服務檢視 AWS 區域

清單

ListStreamingAccessForServices

准許列出 服務的串流存取

清單

ListSupportedResourceTypes

准許擷取 Resource Explorer 目前支援的所有資源類型清單

清單

ListTagsForResource

准許列出連接至指定資源的標籤

索引

aws:ResourceTag/${TagKey}

讀取

檢視

aws:ResourceTag/${TagKey}

ListViews

准許列出 AWS 區域 您呼叫此操作之 中所有可用檢視的 Amazon 資源名稱 (ARNs)

清單

搜尋

准許搜尋資源並顯示符合指定條件的所有資源詳細資訊

檢視*

aws:ResourceTag/${TagKey}

resource-explorer-2:Operation

讀取

TagResource

准許將一或多個標籤鍵值對新增至指定的資源

索引

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

檢視

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

准許從指定的資源移除一個或多個標籤鍵值對

索引

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

檢視

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateIndexType

准許將索引類型從 LOCAL 變更為 AGGREGATOR 或變回之前的類型

索引*

aws:ResourceTag/${TagKey}

寫入

UpdateView

准許修改檢視的一些詳細資訊

檢視*

aws:ResourceTag/${TagKey}

寫入

AWS Resource Explorer 的僅限許可動作

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

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

CreateManagedView

准許建立受管檢視

寫入

CreateStreamingAccessForService

准許建立資源總管串流存取

寫入

DeleteResourcePolicy

准許刪除指定檢視的資源政策

檢視*

aws:ResourceTag/${TagKey}

許可管理、寫入

DeleteStreamingAccessForService

准許刪除資源總管串流存取

寫入

GetResourcePolicy

准許擷取指定檢視資源政策的相關資訊

檢視*

aws:ResourceTag/${TagKey}

讀取

PutResourcePolicy

准許更新指定檢視的資源政策

檢視*

aws:ResourceTag/${TagKey}

許可管理、寫入

Resource Explorer 定義的 AWS 資源類型

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

資源類型 ARN 條件索引鍵

索引

arn:${Partition}:resource-explorer-2:${Region}:${Account}:index/${IndexUuid}

aws:ResourceTag/${TagKey}

受管檢視

arn:${Partition}:resource-explorer-2:${Region}:${Account}:managed-view/${ManagedViewName}/${ManagedViewUuid}

檢視

arn:${Partition}:resource-explorer-2:${Region}:${Account}:view/${ViewName}/${ViewUuid}

aws:ResourceTag/${TagKey}

AWS Resource Explorer 的條件索引鍵

AWS Resource Explorer 定義下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

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

String

aws:ResourceTag/${TagKey}

依連接到資源的標籤索引鍵來篩選存取權

String

aws:TagKeys

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

ArrayOfString

resource-explorer-2:Operation

依正在調用的實際操作篩選存取權,可用值為:搜尋、ListResources

String