View a markdown version of this page

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

AWS DevOps Agent Service 的動作、資源和條件索引鍵

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

參考資料:

AWS DevOps Agent Service 定義的 API 操作

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

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

AssociateService

aidevops:AssociateService

寫入

iam:PassRole

iam:PassedToService

aidevops.amazonaws.com

寫入

CreateAgentSpace

aidevops:CreateAgentSpace

寫入

aidevops:TagResource

標記、寫入

CreatePrivateConnection

aidevops:CreatePrivateConnection

寫入

aidevops:TagResource

標記、寫入

DeleteAgentSpace

aidevops:DeleteAgentSpace

寫入

DeletePrivateConnection

aidevops:DeletePrivateConnection

寫入

DeregisterService

aidevops:DeregisterService

寫入

DescribePrivateConnection

aidevops:DescribePrivateConnection

讀取

DisableOperatorApp

aidevops:DisableOperatorApp

寫入

DisassociateService

aidevops:DisassociateService

寫入

EnableOperatorApp

aidevops:EnableOperatorApp

寫入

iam:PassRole

iam:PassedToService

aidevops.amazonaws.com

寫入

GetAgentSpace

aidevops:GetAgentSpace

讀取

GetAssociation

aidevops:GetAssociation

讀取

GetOperatorApp

aidevops:GetOperatorApp

讀取

GetService

aidevops:GetService

讀取

ListAgentSpaces

aidevops:ListAgentSpaces

清單

ListAssociations

aidevops:ListAssociations

清單

ListPrivateConnections

aidevops:ListPrivateConnections

清單

ListServices

aidevops:ListServices

清單

ListTagsForResource

aidevops:ListTagsForResource

讀取

ListWebhooks

aidevops:ListWebhooks

清單

RegisterService

aidevops:RegisterService

寫入

aidevops:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

aidevops.amazonaws.com

寫入

TagResource

aidevops:TagResource

標記、寫入

UntagResource

aidevops:UntagResource

標記、寫入

UpdateAgentSpace

aidevops:UpdateAgentSpace

寫入

UpdateAssociation

aidevops:UpdateAssociation

寫入

iam:PassRole

iam:PassedToService

aidevops.amazonaws.com

寫入

UpdateOperatorAppIdpConfig

aidevops:UpdateOperatorAppIdpConfig

寫入

UpdatePrivateConnectionCertificate

aidevops:UpdatePrivateConnectionCertificate

寫入

ValidateAwsAssociations

aidevops:ValidateAwsAssociations

寫入

AWS DevOps Agent Service 定義的動作

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

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

AssociateService

准許關聯服務

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

CreateAccessToken

准許建立存取權杖

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

CreateAgentSpace

准許建立代理程式空間

代理程式空間*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateAsset

准許建立資產

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

CreateAssetFile

准許建立資產檔案

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

CreateBacklogTask

准許建立新的待處理項目任務

代理程式空間*

aidevops:SourceAgentSpaceArn

aidevops:TargetAgentSpaceArn

aws:ResourceTag/${TagKey}

寫入

CreateChat

准許建立聊天

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

CreateKnowledgeItem

准許建立新的知識項目

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

CreateOneTimeLoginSession

准許產生安全的一次性工作階段,以啟動主控台外應用程式登入

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

CreatePrivateConnection

准許建立私有連線

private-connection*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateTrigger

准許建立觸發

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

DeleteAgentSpace

准許刪除代理程式空間

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

DeleteAsset

准許刪除資產

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

DeleteAssetFile

准許刪除資產檔案

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

DeleteKnowledgeItem

准許刪除知識項目

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

DeletePrivateConnection

准許刪除私有連線

private-connection*

aws:ResourceTag/${TagKey}

寫入

DeleteTrigger

准許刪除觸發

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

DeregisterService

准許取消註冊服務

服務*

aws:ResourceTag/${TagKey}

寫入

DescribePrivateConnection

准許描述私有連線

private-connection*

aws:ResourceTag/${TagKey}

讀取

DescribeServices

准許描述支援服務

代理程式空間*

aws:ResourceTag/${TagKey}

讀取

DescribeSupportLevel

准許描述客戶支援層級

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

DisableOperatorApp

准許停用運算子應用程式對指定 AgentSpace 的存取

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

DisassociateService

准許取消服務關聯

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

關聯*

DiscoverTopology

准許探索拓撲資訊

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

EnableOperatorApp

准許讓 Operator App 存取指定的 AgentSpace

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

EndChatForCase

准許結束案例的聊天

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

GetAccessToken

准許取得存取權杖詳細資訊

代理程式空間*

aws:ResourceTag/${TagKey}

讀取

GetAccountUsage

准許擷取帳戶用量資訊

讀取

GetAgentSpace

准許取得代理程式空間

代理程式空間*

aws:ResourceTag/${TagKey}

讀取

GetAsset

准許取得資產

代理程式空間*

aidevops:SourceAgentSpaceArn

aidevops:TargetAgentSpaceArn

aws:ResourceTag/${TagKey}

讀取

GetAssetContent

准許取得資產內容

代理程式空間*

aidevops:SourceAgentSpaceArn

aidevops:TargetAgentSpaceArn

aws:ResourceTag/${TagKey}

讀取

GetAssetFile

准許取得資產檔案

代理程式空間*

aidevops:SourceAgentSpaceArn

aidevops:TargetAgentSpaceArn

aws:ResourceTag/${TagKey}

讀取

GetAssociation

准許取得關聯

代理程式空間*

aws:ResourceTag/${TagKey}

讀取

關聯*

GetBacklogTask

准許取得待處理項目任務

代理程式空間*

aidevops:SourceAgentSpaceArn

aidevops:TargetAgentSpaceArn

aws:ResourceTag/${TagKey}

讀取

GetKnowledgeItem

准許取得知識項目

代理程式空間*

aws:ResourceTag/${TagKey}

讀取

GetOperatorApp

准許取得任何已啟用身分驗證流程的運算子身分驗證組態

代理程式空間*

aws:ResourceTag/${TagKey}

讀取

GetRecommendation

准許取得建議

代理程式空間*

aws:ResourceTag/${TagKey}

讀取

GetService

准許取得服務

服務*

aws:ResourceTag/${TagKey}

讀取

GetTrigger

准許取得觸發條件

代理程式空間*

aws:ResourceTag/${TagKey}

讀取

InitiateChatForCase

准許啟動案例的聊天

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

ListAccessTokens

准許列出存取權杖

代理程式空間*

aws:ResourceTag/${TagKey}

清單

ListAgentSpaces

准許列出代理程式空間

清單

ListAssetFiles

准許列出資產檔案

代理程式空間*

aidevops:SourceAgentSpaceArn

aidevops:TargetAgentSpaceArn

aws:ResourceTag/${TagKey}

清單

ListAssetTypes

准許列出資產類型

清單

ListAssetVersions

准許列出資產版本

代理程式空間*

aws:ResourceTag/${TagKey}

清單

ListAssets

准許列出資產

代理程式空間*

aidevops:SourceAgentSpaceArn

aidevops:TargetAgentSpaceArn

aws:ResourceTag/${TagKey}

清單

ListAssociations

准許列出關聯

代理程式空間*

aws:ResourceTag/${TagKey}

清單

ListBacklogTasks

准許列出待處理項目任務

代理程式空間*

aidevops:SourceAgentSpaceArn

aidevops:TargetAgentSpaceArn

aws:ResourceTag/${TagKey}

清單

ListChats

准許列出聊天

代理程式空間*

aws:ResourceTag/${TagKey}

清單

ListExecutions

准許列出執行

代理程式空間*

aidevops:SourceAgentSpaceArn

aidevops:TargetAgentSpaceArn

aws:ResourceTag/${TagKey}

清單

ListGoals

准許列出目標

代理程式空間*

aws:ResourceTag/${TagKey}

清單

ListJournalRecords

准許列出日誌記錄

代理程式空間*

aidevops:SourceAgentSpaceArn

aidevops:TargetAgentSpaceArn

aws:ResourceTag/${TagKey}

清單

ListKnowledgeItemVersions

准許列出知識項目版本

代理程式空間*

aws:ResourceTag/${TagKey}

清單

ListKnowledgeItems

准許列出知識項目

代理程式空間*

aws:ResourceTag/${TagKey}

清單

ListPendingMessages

准許列出待定訊息

代理程式空間*

aws:ResourceTag/${TagKey}

清單

ListPrivateConnections

准許列出私有連線

清單

ListRecommendations

准許列出建議

代理程式空間*

aws:ResourceTag/${TagKey}

清單

ListServices

准許列出服務

清單

ListTagsForResource

准許列出資源的標籤

代理程式空間

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

讀取

私有連線

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

服務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

ListTriggers

准許列出觸發條件

代理程式空間*

aws:ResourceTag/${TagKey}

清單

ListWebhooks

准許列出要關聯的 Webhook

代理程式空間*

aws:ResourceTag/${TagKey}

清單

關聯*

RegisterService

准許註冊特定服務

服務*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

RevokeAccessToken

准許撤銷存取權杖

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

RotateAccessToken

准許輪換存取權杖

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

SearchServiceAccessibleResource

准許查詢已註冊的服務可存取資源

讀取

SendMessage

准許傳送聊天訊息

代理程式空間*

aidevops:SourceAgentSpaceArn

aidevops:TargetAgentSpaceArn

aws:ResourceTag/${TagKey}

寫入

TagResource

准許標記資源

代理程式空間

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

私有連線

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

服務

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateAgentSpace

准許更新代理程式空間

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

UpdateApprovalAction

准許更新客服人員工具調用的核准動作 (核准或拒絕)

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

UpdateAsset

准許更新資產

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

UpdateAssetFile

准許更新資產檔案

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

UpdateAssociation

准許更新關聯

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

關聯*

UpdateBacklogTask

准許更新任務

代理程式空間*

aidevops:SourceAgentSpaceArn

aidevops:TargetAgentSpaceArn

aws:ResourceTag/${TagKey}

寫入

UpdateGoal

准許更新目標

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

UpdateKnowledgeItem

准許更新知識項目

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

UpdateOperatorAppIdpConfig

准許更新 Operator App 的外部身分提供者組態

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

UpdatePrivateConnectionCertificate

准許更新私有連線憑證

private-connection*

aws:ResourceTag/${TagKey}

寫入

UpdateRecommendation

准許更新建議

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

UpdateTrigger

准許更新觸發

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

ValidateAwsAssociations

准許驗證 aws 關聯

代理程式空間*

aws:ResourceTag/${TagKey}

寫入

AWS DevOps Agent Service 的僅限許可動作

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

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

AllowVendedLogDeliveryForResource

准許授權付費日誌

許可管理、寫入

AWS DevOps Agent Service 定義的資源類型

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

資源類型 ARN 條件索引鍵

代理程式空間

arn:${Partition}:aidevops:${Region}:${Account}:agentspace/${AgentSpaceId}

aws:ResourceTag/${TagKey}

資產

arn:${Partition}:aidevops:${Region}:${Account}:agentspace/${AgentSpaceId}/asset/${AssetId}

關聯

arn:${Partition}:aidevops:${Region}:${Account}:agentspace/${AgentSpaceId}/association/${AssociationId}

私有連線

arn:${Partition}:aidevops:${Region}:${Account}:private-connection/${Name}

aws:ResourceTag/${TagKey}

服務

arn:${Partition}:aidevops:${Region}:${Account}:service/${ServiceId}

aws:ResourceTag/${TagKey}

觸發條件

arn:${Partition}:aidevops:${Region}:${Account}:agentspace/${AgentSpaceId}/trigger/${TriggerId}

AWS DevOps Agent Service 的條件索引鍵

AWS DevOps Agent Service 定義了下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aidevops:SourceAgentSpaceArn

依請求上的來源 AgentSpace ARN 篩選存取權。由 服務從請求內容設定,而非由發起人提供

ARN

aidevops:TargetAgentSpaceArn

依請求上的目標 AgentSpace ARN 篩選存取權。由 服務從請求內容設定,而非由發起人提供

ARN

aws:RequestTag/${TagKey}

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

String

aws:ResourceTag/${TagKey}

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

String

aws:TagKeys

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

ArrayOfString