

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

# AWS DevOps 代理服务的操作、资源和条件键
<a name="list_awsdevopsagentservice"></a>

AWS DevOps 代理服务（服务前缀:`aidevops`）提供以下特定于服务的资源、操作和条件上下文密钥，供在 IAM 权限策略中使用。

参考：
+ 了解如何[配置该服务](https://docs.aws.amazon.com/devopsagent/latest/userguide/)。
+ 查看[适用于该服务的 API 操作列表](https://docs.aws.amazon.com/devopsagent/latest/userguide/)。
+ 了解如何[使用 IAM](https://docs.aws.amazon.com/devopsagent/latest/userguide/aws-devops-agent-security-devops-agent-iam-permissions.html) 权限策略保护该服务及其资源。

**Topics**
+ [AWS DevOps 代理服务定义的操作](#awsdevopsagentservice-actions-as-permissions)
+ [AWS DevOps 代理服务定义的资源类型](#awsdevopsagentservice-resources-for-iam-policies)
+ [AWS DevOps 代理服务的条件密钥](#awsdevopsagentservice-policy-keys)

## AWS DevOps 代理服务定义的操作
<a name="awsdevopsagentservice-actions-as-permissions"></a>

您可以在 IAM 策略语句的 `Action` 元素中指定以下操作。可以使用策略授予在 AWS中执行操作的权限。您在策略中使用一项操作时，通常使用相同的名称允许或拒绝对 API 操作或 CLI 命令的访问。但在某些情况下，单一动作可控制对多项操作的访问。还有某些操作需要多种不同的动作。

操作表的**访问级别**列描述如何对操作进行分类（列出、读取、权限管理或标记）。此分类可以帮助您了解当您在策略中使用操作时，相应操作授予的访问级别。有关访问级别的更多信息，请参阅[策略摘要中的访问级别](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_understand-policy-summary-access-level-summaries.html)。

操作表的**资源类型**列指示每项操作是否支持资源级权限。如果该列没有任何值，您必须在策略语句的 `Resource` 元素中指定策略应用的所有资源（“\*”）。通过在 IAM policy 中使用条件来筛选访问权限，以控制是否可以在资源或请求中使用特定标签键。如果操作具有一个或多个必需资源，则调用方必须具有使用这些资源来使用该操作的权限。必需资源在表中以星号 (\*) 表示。如果您在 IAM policy 中使用 `Resource` 元素限制资源访问权限，则必须为每种必需的资源类型添加 ARN 或模式。某些操作支持多种资源类型。如果资源类型是可选的（未指示为必需），则可以选择使用一种可选资源类型。

操作表的**条件键**列包括可以在策略语句的 `Condition` 元素中指定的键。有关与服务资源关联的条件键的更多信息，请参阅资源类型表的**条件键**列。

操作表的**依赖操作**列显示成功调用操作可能需要的其他权限。除了操作本身的权限以外，可能还需要这些权限。若某个操作指定依赖操作，则这些依赖关系可能适用于为该操作定义的其他资源，而不仅仅是表中列出的第一个资源。

**注意**  
资源条件键在[资源类型](#awsdevopsagentservice-resources-for-iam-policies)表中列出。您可以在操作表的**资源类型（\* 为必需）**列中找到应用于某项操作的资源类型的链接。资源类型表中的资源类型包括**条件密钥**列，这是应用于操作表中操作的资源条件键。

有关下表中各列的详细信息，请参阅[操作表](reference_policies_actions-resources-contextkeys.html#actions_table)。


****  


- **  [https://docs.aws.amazon.com/devopsagent/latest/userguide/configuring-capabilities-for-aws-devops-agent-vended-logs-and-metrics.html](https://docs.aws.amazon.com/devopsagent/latest/userguide/configuring-capabilities-for-aws-devops-agent-vended-logs-and-metrics.html) [仅权限]**
  - **描述:** 授予授权售出日志的权限
  - **访问级别:** 权限管理
  - **资源类型（\* 为必需）:** 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_AssociateService.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_AssociateService.html) **
  - **描述:** 授予关联服务的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-associations](#awsdevopsagentservice-associations)  / **条件键:**  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_CreateAgentSpace.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_CreateAgentSpace.html) **
  - **描述:** 授予创建代理空间的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_RequestTag___TagKey_](#awsdevopsagentservice-aws_RequestTag___TagKey_) <br /> [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_CreateBacklogTask.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_CreateBacklogTask.html) **
  - **描述:** 授予创建新待办事项任务的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_CreateChat.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_CreateChat.html) **
  - **描述:** 授予创建聊天的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_CreateKnowledgeItem.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_CreateKnowledgeItem.html) **
  - **描述:** 授予创建新知识项目的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html) **
  - **描述:** 授予生成安全的一次性会话的权限，用于启动非控制台应用程序登录
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_CreatePrivateConnection.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_CreatePrivateConnection.html) **
  - **描述:** 授予创建私有连接的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-private-connection](#awsdevopsagentservice-private-connection)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_RequestTag___TagKey_](#awsdevopsagentservice-aws_RequestTag___TagKey_) <br /> [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_DeleteAgentSpace.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_DeleteAgentSpace.html) **
  - **描述:** 授予删除代理空间的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html) **
  - **描述:** 授予删除知识项目的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_DeletePrivateConnection.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_DeletePrivateConnection.html) **
  - **描述:** 授予删除私有连接的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-private-connection](#awsdevopsagentservice-private-connection)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_DeregisterService.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_DeregisterService.html) **
  - **描述:** 授予取消注册服务的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-service](#awsdevopsagentservice-service)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_DescribePrivateConnection.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_DescribePrivateConnection.html) **
  - **描述:** 授予描述私有连接的权限
  - **访问级别:** 读取
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-private-connection](#awsdevopsagentservice-private-connection)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html) **
  - **描述:** 授予描述支持服务的权限
  - **访问级别:** 读取
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html) **
  - **描述:** 授予描述客户支持级别的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_DisableOperatorApp.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_DisableOperatorApp.html) **
  - **描述:** 授予禁用操作员应用程序访问给定内容的权限 AgentSpace
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_DisassociateService.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_DisassociateService.html) **
  - **描述:** 授予取消关联服务的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-associations](#awsdevopsagentservice-associations)  / **条件键:**  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html) **
  - **描述:** 授予发现拓扑信息的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_EnableOperatorApp.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_EnableOperatorApp.html) **
  - **描述:** 授予允许操作员应用程序访问给定内容的权限 AgentSpace
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html) **
  - **描述:** 授予结束案例聊天的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetAccountUsage.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetAccountUsage.html) **
  - **描述:** 授予检索账户使用信息的权限
  - **访问级别:** 读取
  - **资源类型（\* 为必需）:** 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetAgentSpace.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetAgentSpace.html) **
  - **描述:** 授予获取代理空间的权限
  - **访问级别:** 读取
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetAssociation.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetAssociation.html) **
  - **描述:** 授予获得关联的权限
  - **访问级别:** 读取
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-associations](#awsdevopsagentservice-associations)  / **条件键:**  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetBacklogTask.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetBacklogTask.html) **
  - **描述:** 授予获取待办事项任务的权限
  - **访问级别:** 读取
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html) **
  - **描述:** 授予获取知识物品的权限
  - **访问级别:** 读取
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetOperatorApp.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetOperatorApp.html) **
  - **描述:** 授予获取任何已启用的身份验证流程的操作员身份验证配置的权限
  - **访问级别:** 读取
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetRecommendation.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetRecommendation.html) **
  - **描述:** 授予获取推荐的权限
  - **访问级别:** 读取
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetService.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_GetService.html) **
  - **描述:** 授予获取服务的权限
  - **访问级别:** 读取
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-service](#awsdevopsagentservice-service)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html) **
  - **描述:** 授予针对案例发起聊天的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListAgentSpaces.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListAgentSpaces.html) **
  - **描述:** 授予列出代理空间的权限
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:** 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListAssociations.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListAssociations.html) **
  - **描述:** 授予权限以列出关联
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListBacklogTasks.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListBacklogTasks.html) **
  - **描述:** 授予列出待办事项的权限
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListChats.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListChats.html) **
  - **描述:** 授予列出聊天的权限
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListExecutions.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListExecutions.html) **
  - **描述:** 授予权限以列出执行
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListGoals.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListGoals.html) **
  - **描述:** 授予列出目标的权限
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListJournalRecords.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListJournalRecords.html) **
  - **描述:** 授予列出日记记录的权限
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html) **
  - **描述:** 授予列出知识项目版本的权限
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html) **
  - **描述:** 授予列出知识项目的权限
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListPendingMessages.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListPendingMessages.html) **
  - **描述:** 授予列出待处理消息的权限
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListPrivateConnections.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListPrivateConnections.html) **
  - **描述:** 授予列出私有连接的权限
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:** 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListRecommendations.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListRecommendations.html) **
  - **描述:** 授予列出推荐的权限
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListServices.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListServices.html) **
  - **描述:** 授予列出服务的权限
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:** 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListTagsForResource.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListTagsForResource.html) **
  - **描述:** 授予权限以列出资源的标签
  - **访问级别:** 读取
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace)  / **条件键:**  [#awsdevopsagentservice-aws_RequestTag___TagKey_](#awsdevopsagentservice-aws_RequestTag___TagKey_) <br /> [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-private-connection](#awsdevopsagentservice-private-connection)  / **条件键:**  [#awsdevopsagentservice-aws_RequestTag___TagKey_](#awsdevopsagentservice-aws_RequestTag___TagKey_) <br /> [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-service](#awsdevopsagentservice-service)  / **条件键:**  [#awsdevopsagentservice-aws_RequestTag___TagKey_](#awsdevopsagentservice-aws_RequestTag___TagKey_) <br /> [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListWebhooks.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ListWebhooks.html) **
  - **描述:** 授予列出 webhook 进行关联的权限
  - **访问级别:** 列表
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-associations](#awsdevopsagentservice-associations)  / **条件键:**  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_RegisterService.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_RegisterService.html) **
  - **描述:** 授予注册特定服务的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-service](#awsdevopsagentservice-service)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_RequestTag___TagKey_](#awsdevopsagentservice-aws_RequestTag___TagKey_) <br /> [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html) **
  - **描述:** 授予查找已注册服务可访问资源的权限
  - **访问级别:** 读取
  - **资源类型（\* 为必需）:** 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_SendMessage.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_SendMessage.html) **
  - **描述:** 授予发送聊天消息的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_TagResource.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_TagResource.html) **
  - **描述:** 授予权限以标记资源
  - **访问级别:** Tagging
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace)  / **条件键:**  [#awsdevopsagentservice-aws_RequestTag___TagKey_](#awsdevopsagentservice-aws_RequestTag___TagKey_) <br /> [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-private-connection](#awsdevopsagentservice-private-connection)  / **条件键:**  [#awsdevopsagentservice-aws_RequestTag___TagKey_](#awsdevopsagentservice-aws_RequestTag___TagKey_) <br /> [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-service](#awsdevopsagentservice-service)  / **条件键:**  [#awsdevopsagentservice-aws_RequestTag___TagKey_](#awsdevopsagentservice-aws_RequestTag___TagKey_) <br /> [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_RequestTag___TagKey_](#awsdevopsagentservice-aws_RequestTag___TagKey_) <br /> [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UntagResource.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UntagResource.html) **
  - **描述:** 授予权限以取消标记资源
  - **访问级别:** 标签
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace)  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-private-connection](#awsdevopsagentservice-private-connection)  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-service](#awsdevopsagentservice-service)  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_) <br /> [#awsdevopsagentservice-aws_TagKeys](#awsdevopsagentservice-aws_TagKeys)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdateAgentSpace.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdateAgentSpace.html) **
  - **描述:** 授予更新代理空间的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdateAssociation.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdateAssociation.html) **
  - **描述:** 授予更新关联的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-associations](#awsdevopsagentservice-associations)  / **条件键:**  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdateBacklogTask.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdateBacklogTask.html) **
  - **描述:** 授予权限以更新任务
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdateGoal.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdateGoal.html) **
  - **描述:** 授予更新目标的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/what-is.html) **
  - **描述:** 授予更新知识项目的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdateOperatorAppIdpConfig.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdateOperatorAppIdpConfig.html) **
  - **描述:** 授予更新操作员应用程序的外部身份提供者配置的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdatePrivateConnectionCertificate.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdatePrivateConnectionCertificate.html) **
  - **描述:** 授予更新私有连接证书的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-private-connection](#awsdevopsagentservice-private-connection)  / **条件键:**  / **相关操作:** 
  - **资源类型（\* 为必需）:**  / **条件键:**  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_)  / **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdateRecommendation.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_UpdateRecommendation.html) **
  - **描述:** 授予更新推荐的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 

- **  [https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ValidateAwsAssociations.html](https://docs.aws.amazon.com/devopsagent/latest/APIReference/API_ValidateAwsAssociations.html) **
  - **描述:** 授予验证 aws 关联的权限
  - **访问级别:** 写入
  - **资源类型（\* 为必需）:**  [#awsdevopsagentservice-agentspace](#awsdevopsagentservice-agentspace) 
  - **条件键:** 
  - **相关操作:** 



## AWS DevOps 代理服务定义的资源类型
<a name="awsdevopsagentservice-resources-for-iam-policies"></a>

以下资源类型是由该服务定义的，可以在 IAM 权限策略语句的 `Resource` 元素中使用这些资源类型。[操作表](#awsdevopsagentservice-actions-as-permissions)中的每个操作指定了可以使用该操作指定的资源类型。您也可以在策略中包含条件键，从而定义资源类型。这些键显示在资源类型表的最后一列。有关下表中各列的详细信息，请参阅[资源类型表](reference_policies_actions-resources-contextkeys.html#resources_table)。


****  

| 资源类型 | ARN | 条件键 | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/devopsagent/latest/userguide/](https://docs.aws.amazon.com/devopsagent/latest/userguide/)  |  arn:${Partition}:aidevops:${Region}:${Account}:agentspace/${AgentSpaceId}  |  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/devopsagent/latest/userguide/](https://docs.aws.amazon.com/devopsagent/latest/userguide/)  |  arn:${Partition}:aidevops:${Region}:${Account}:agentspace/${AgentSpaceId}/association/${AssociationId}  |  | 
|   [https://docs.aws.amazon.com/devopsagent/latest/userguide/](https://docs.aws.amazon.com/devopsagent/latest/userguide/)  |  arn:${Partition}:aidevops:${Region}:${Account}:private-connection/${Name}  |  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/devopsagent/latest/userguide/](https://docs.aws.amazon.com/devopsagent/latest/userguide/)  |  arn:${Partition}:aidevops:${Region}:${Account}:service/${ServiceId}  |  [#awsdevopsagentservice-aws_ResourceTag___TagKey_](#awsdevopsagentservice-aws_ResourceTag___TagKey_)  | 

## AWS DevOps 代理服务的条件密钥
<a name="awsdevopsagentservice-policy-keys"></a>

AWS DevOps 代理服务定义了以下条件键，这些条件键可用于 IAM 策略的`Condition`元素。您可以使用这些键进一步细化应用策略语句的条件。有关下表中各列的详细信息，请参阅[条件键表](reference_policies_actions-resources-contextkeys.html#context_keys_table)。

要查看适用于所有服务的全局条件键，请参阅 [AWS 全局条件上下文键](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html)。


****  

| 条件键 | 描述 | 类型 | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag)  | 按请求中传递的标签筛选访问权限 | 字符串 | 
|   [https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag)  | 按与资源关联的标签筛选访问权限 | 字符串 | 
|   [https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys)  | 按请求中传递的标签键筛选访问权限 | ArrayOfString | 