View a markdown version of this page

的操作、资源和条件键 Amazon 资源探索器 - 服务授权参考
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)。

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

的操作、资源和条件键 Amazon 资源探索器

Amazon 资源管理器(服务前缀: resource-explorer-2) 提供以下特定服务的操作、资源、操作和条件密钥,用于 IAM 权限策略。

参考:

API 操作定义为 Amazon 资源探索器

下表将 API 操作映射到它们授权的 IAM 操作。仅列出具有给定 API 和操作静态值的条件密钥;有关每个操作支持的全套条件密钥,请参阅 操作表。

操作 IAM 操作 条件键 可能的值 访问级别

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

列表

Search

resource-explorer-2:Search

读取

TagResource

resource-explorer-2:TagResource

标记、写入

UntagResource

resource-explorer-2:UntagResource

标记、写入

UpdateIndexType

resource-explorer-2:UpdateIndexType

写入

UpdateView

resource-explorer-2:UpdateView

写入

动作定义为 Amazon 资源探索器

您可以在 IAM 策略语句的 Action 元素中指定以下操作。对于每个操作,该表列出了该操作支持的资源类型和条件键。可以使用策略授予在 Amazon中执行操作的权限。您在策略中使用一项操作时,通常使用相同的名称允许或拒绝对 API 操作或 CLI 命令的访问。但在某些情况下,单一动作可控制对多项操作的访问。还有某些操作需要多种不同的动作。

操作 说明 资源类型(* 为必需) 条件键 访问级别

AssociateDefaultView

授予将指定视图设置为默认视图的权限 Amazon Web Services 区域 在这个 Amazon Web Services 账户

写入

BatchGetView

授予权限以检索由 ARN 列表指定的视图的详细信息

读取

CreateIndex

授予在 “资源管理器” 中开启资源管理器的权限 Amazon Web Services 区域 其中你通过创建索引来调用此操作

aws:RequestTag/${TagKey}

aws:TagKeys

写入

CreateResourceExplorerSetup

授予权限以创建 Resource Explorer 设置

写入

CreateView

授予权限以创建用户可以查询的视图

aws:RequestTag/${TagKey}

aws:TagKeys

写入

DeleteIndex

授予在指定资源管理器中关闭资源管理器的权限 Amazon Web Services 区域 通过删除索引

index*

aws:ResourceTag/${TagKey}

写入

DeleteResourceExplorerSetup

授予权限以删除 Resource Explorer 设置

写入

DeleteView

授予权限以删除视图

view*

aws:ResourceTag/${TagKey}

写入

DisassociateDefaultView

授予移除默认视图的权限 Amazon Web Services 区域 你在其中调用这个操作

写入

GetAccountLevelServiceConfiguration

向 Resource Explorer 授予访问您的账户级别数据的权限 Amazon 组织

读取

GetDefaultView

授予检索视图的亚马逊资源名称 (ARN) 的权限,视图的默认名称 Amazon Web Services 区域 你在其中调用这个操作

读取

GetIndex

授予在中检索有关索引信息的权限 Amazon Web Services 区域 你在其中调用这个操作

读取

GetManagedView

授予权限以获取托管式视图

managed-view*

读取

GetResourceExplorerSetup

授予权限以获取 Resource Explorer 设置

读取

GetServiceIndex

授予权限以获取服务索引

读取

GetServiceView

授予权限以获取服务视图

读取

GetView

授予权限以检索指定视图相关信息

view*

aws:ResourceTag/${TagKey}

读取

ListIndexes

授予列出所有索引的权限 Amazon Web Services 区域

列表

ListIndexesForMembers

授予列出所有组织成员账户索引的权限 Amazon Web Services 区域

列表

ListManagedViews

授予权限以列出托管式视图

列表

ListServiceIndexes

授予列出所有服务索引的权限 Amazon Web Services 区域

列表

ListServiceViews

授予列出所有服务视图的权限 Amazon Web Services 区域

列表

ListStreamingAccessForServices

授予权限以列出服务的流式访问权限

列表

ListSupportedResourceTypes

授予权限以检索 Resource Explorer 目前支持的所有资源类型的列表

列表

ListTagsForResource

授予权限以列出附加到指定资源的标签

index

aws:ResourceTag/${TagKey}

读取

view

aws:ResourceTag/${TagKey}

ListViews

授予列出所有可用视图的亚马逊资源名称 (ARN) 的权限 Amazon Web Services 区域 你在其中调用这个操作

列表

Search

授予权限以搜索资源和显示与指定条件相匹配的所有资源的详细信息

view*

aws:ResourceTag/${TagKey}

resource-explorer-2:Operation

读取

TagResource

授予权限以将一个或多个标签键和值对添加到指定的资源中

index

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

view

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

授予权限以将一个或多个标签键和值对从指定的资源中删除

index

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

view

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateIndexType

授予权限以将索引类型从 LOCAL 更改为 AGGREGATOR 或改回索引类型

index*

aws:ResourceTag/${TagKey}

写入

UpdateView

授予权限以修改视图的某些详细信息

view*

aws:ResourceTag/${TagKey}

写入

Permission-only 的操作 Amazon 资源探索器

以下操作定义为 Amazon 资源管理器,但不能通过任何 API 操作直接调用。它们只能在 IAM 政策声明中用于授予或拒绝权限。

操作 说明 资源类型(* 为必需) 条件键 访问级别

CreateManagedView

授予权限以创建托管式视图

写入

CreateStreamingAccessForService

授予权限以创建 Resource Explorer 流式访问权限

写入

DeleteResourcePolicy

授予权限以删除指定视图的资源策略

view*

aws:ResourceTag/${TagKey}

权限管理,写入

DeleteStreamingAccessForService

授予权限以删除 Resource Explorer 流式访问权限

写入

GetResourcePolicy

授予权限以检索有关指定视图的资源策略的信息

view*

aws:ResourceTag/${TagKey}

读取

PutResourcePolicy

授予权限以更新指定视图的资源策略

view*

aws:ResourceTag/${TagKey}

权限管理,写入

资源类型定义为 Amazon 资源探索器

以下资源类型是由该服务定义的,可以在 IAM 权限策略语句的 Resource 元素中使用这些资源类型。

资源类型 ARN 条件键

index

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

aws:ResourceTag/${TagKey}

managed-view

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

view

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

aws:ResourceTag/${TagKey}

的条件密钥 Amazon 资源探索器

Amazon 资源管理器定义了以下条件密钥,这些密钥可用于 Condition IAM 政策的元素。

条件键 描述 类型

aws:RequestTag/${TagKey}

按请求中传递的标签键筛选访问权限

String

aws:ResourceTag/${TagKey}

按附加到资源的标签键筛选访问权限

String

aws:TagKeys

按请求中传递的标签键筛选访问权限

ArrayOfString

resource-explorer-2:Operation

按正在调用的实际操作筛选访问权限,可用值:搜索, ListResources

String