View a markdown version of this page

上的 Claude 平台的動作、資源和條件索引鍵 AWS - 服務授權參考

上的 Claude 平台的動作、資源和條件索引鍵 AWS

上的 Claude 平台 AWS (服務字首:aws-external-anthropic) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

Claude 平台在 上定義的動作 AWS

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

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

ArchiveAgent

准許封存受管代理程式

workspace*

aws:ResourceTag/${TagKey}

寫入

ArchiveEnvironment

准許封存受管代理程式環境

workspace*

aws:ResourceTag/${TagKey}

寫入

ArchiveMemoryStore

准許封存記憶體存放區

workspace*

aws:ResourceTag/${TagKey}

寫入

ArchiveSession

准許封存受管代理程式工作階段

workspace*

aws:ResourceTag/${TagKey}

寫入

ArchiveVault

准許封存登入資料保存庫

workspace*

aws:ResourceTag/${TagKey}

寫入

ArchiveWorkspace

准許封存工作區

workspace*

aws:ResourceTag/${TagKey}

寫入

AssumeConsole

准許在 Claude 平台上擔任主控台存取權

aws-external-anthropic:Capability

寫入

CancelBatchInference

准許取消進行中批次推論請求

workspace*

aws:ResourceTag/${TagKey}

寫入

CountTokens

准許計算訊息請求的字符數量

workspace*

aws:ResourceTag/${TagKey}

寫入

CreateAgent

准許在工作區中建立受管代理程式

workspace*

aws:ResourceTag/${TagKey}

寫入

CreateBatchInference

准許建立批次推論請求

workspace*

aws:ResourceTag/${TagKey}

寫入

CreateEnvironment

准許在工作區中建立受管代理程式環境

workspace*

aws:ResourceTag/${TagKey}

寫入

CreateFile

准許將檔案上傳至工作區

workspace*

aws:ResourceTag/${TagKey}

寫入

CreateInference

准許建立聊天完成推論請求

workspace*

aws:ResourceTag/${TagKey}

寫入

CreateMemoryStore

准許在工作區中建立受管代理程式記憶體存放區

workspace*

aws:ResourceTag/${TagKey}

寫入

CreateSession

准許在工作區中建立受管代理程式工作階段

workspace*

aws:ResourceTag/${TagKey}

寫入

CreateSkill

准許在工作區中建立技能

workspace*

aws:ResourceTag/${TagKey}

寫入

CreateUserProfile

准許建立使用者設定檔

寫入

CreateUserProfileEnrollmentUrl

准許建立使用者設定檔的註冊 URL

寫入

CreateVault

准許在工作區中建立受管代理程式登入資料保存庫

workspace*

aws:ResourceTag/${TagKey}

寫入

CreateWebhook

准許在工作區中建立 Webhook

workspace*

aws:ResourceTag/${TagKey}

寫入

CreateWorkspace

准許在組織中建立工作區

aws-external-anthropic:KeyArn

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

DeleteBatchInference

准許刪除批次推論請求

workspace*

aws:ResourceTag/${TagKey}

寫入

DeleteEnvironment

准許刪除受管代理程式環境

workspace*

aws:ResourceTag/${TagKey}

寫入

DeleteFile

准許從工作區刪除檔案

workspace*

aws:ResourceTag/${TagKey}

寫入

DeleteMemoryStore

准許刪除記憶體存放區

workspace*

aws:ResourceTag/${TagKey}

寫入

DeleteSession

准許刪除受管代理程式工作階段

workspace*

aws:ResourceTag/${TagKey}

寫入

DeleteSkill

准許從工作區刪除技能

workspace*

aws:ResourceTag/${TagKey}

寫入

DeleteVault

准許刪除登入資料保存庫

workspace*

aws:ResourceTag/${TagKey}

寫入

DeleteWebhook

准許刪除 Webhook

workspace*

aws:ResourceTag/${TagKey}

寫入

DisableKey

准許停用外部加密金鑰

aws-external-anthropic:KeyArn

寫入

GetAccountStatus

准許擷取帳戶設定和 AWS Marketplace 註冊的狀態

讀取

GetAgent

准許擷取受管代理程式的詳細資訊或版本

workspace*

aws:ResourceTag/${TagKey}

讀取

GetBatchInference

准許擷取批次推論請求的詳細資訊

workspace*

aws:ResourceTag/${TagKey}

讀取

GetEnvironment

准許擷取受管代理程式環境的詳細資訊

workspace*

aws:ResourceTag/${TagKey}

讀取

GetFile

准許從工作區擷取檔案或其內容

workspace*

aws:ResourceTag/${TagKey}

讀取

GetKey

准許取得外部加密金鑰

aws-external-anthropic:KeyArn

讀取

GetMemoryStore

准許擷取記憶體存放區、其記憶體或其記憶體版本的詳細資訊

workspace*

aws:ResourceTag/${TagKey}

讀取

GetModel

准許擷取特定模型的相關資訊

workspace*

aws:ResourceTag/${TagKey}

讀取

GetSession

准許擷取受管代理程式工作階段的詳細資訊、事件或資源

workspace*

aws:ResourceTag/${TagKey}

讀取

GetSkill

准許擷取技能或其版本的詳細資訊

workspace*

aws:ResourceTag/${TagKey}

讀取

GetUserProfile

准許擷取使用者設定檔的詳細資訊

讀取

GetVault

准許擷取登入資料保存庫或其登入資料的詳細資訊

workspace*

aws:ResourceTag/${TagKey}

讀取

GetWebhook

准許擷取 Webhook 的詳細資訊

workspace*

aws:ResourceTag/${TagKey}

讀取

GetWorkspace

准許擷取工作區的詳細資訊

workspace*

aws:ResourceTag/${TagKey}

讀取

ListAgents

准許列出工作區中的受管客服人員

workspace*

aws:ResourceTag/${TagKey}

清單

ListBatchInferences

准許列出工作區中的批次推論請求

workspace*

aws:ResourceTag/${TagKey}

清單

ListEnvironments

准許列出工作區中的受管代理程式環境

workspace*

aws:ResourceTag/${TagKey}

清單

ListFiles

准許列出工作區中的檔案

workspace*

aws:ResourceTag/${TagKey}

清單

ListKeys

准許列出外部加密金鑰

清單

ListMemoryStores

准許列出工作區中的受管代理程式記憶體存放區

workspace*

aws:ResourceTag/${TagKey}

清單

ListModels

准許列出工作區中的可用模型

workspace*

aws:ResourceTag/${TagKey}

清單

ListSessions

准許列出工作區中的受管代理程式工作階段

workspace*

aws:ResourceTag/${TagKey}

清單

ListSkills

准許列出工作區中的技能

workspace*

aws:ResourceTag/${TagKey}

清單

ListTagsForResource

准許列出資源的標籤

工作區

aws:ResourceTag/${TagKey}

讀取

ListUserProfiles

准許列出使用者設定檔

清單

ListVaults

准許列出工作區中的受管客服人員登入資料保存庫

workspace*

aws:ResourceTag/${TagKey}

清單

ListWebhooks

准許列出工作區中的 Webhook

workspace*

aws:ResourceTag/${TagKey}

清單

ListWorkspaces

准許列出組織中的工作區

清單

ProcessEnvironmentWork

准許在自我託管的受管代理程式環境中處理工作項目

workspace*

aws:ResourceTag/${TagKey}

寫入

RegisterKey

准許註冊外部加密金鑰

寫入

RotateWebhookSecret

准許輪換 Webhook 的簽署秘密

workspace*

aws:ResourceTag/${TagKey}

寫入

TagResource

准許標記資源

工作區

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

UntagResource

准許取消標記資源

工作區

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

UpdateAgent

准許更新受管代理程式

workspace*

aws:ResourceTag/${TagKey}

寫入

UpdateEnvironment

准許更新受管代理程式環境

workspace*

aws:ResourceTag/${TagKey}

寫入

UpdateKey

准許更新外部加密金鑰

aws-external-anthropic:KeyArn

寫入

UpdateMemoryStore

准許更新記憶體存放區、變更其記憶體或修訂記憶體版本

workspace*

aws:ResourceTag/${TagKey}

寫入

UpdateSession

准許更新受管代理程式工作階段、附加工作階段事件或管理其資源

workspace*

aws:ResourceTag/${TagKey}

寫入

UpdateSkill

准許建立或刪除技能版本

workspace*

aws:ResourceTag/${TagKey}

寫入

UpdateUserProfile

准許更新使用者設定檔

寫入

UpdateVault

准許更新登入資料保存庫或管理其儲存的登入資料

workspace*

aws:ResourceTag/${TagKey}

寫入

UpdateWebhook

准許更新 Webhook

workspace*

aws:ResourceTag/${TagKey}

寫入

UpdateWorkspace

准許更新工作空間

workspace*

aws-external-anthropic:KeyArn

aws:ResourceTag/${TagKey}

寫入

上的 Claude 平台僅限許可的動作 AWS

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

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

CallWithBearerToken

准許使用承載字符身分驗證進行 API 呼叫

aws-external-anthropic:BearerTokenType

清單

Claude 平台在 上定義的資源類型 AWS

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

資源類型 ARN 條件索引鍵

工作區

arn:${Partition}:aws-external-anthropic:${Region}:${Account}:workspace/${ResourceId}

aws:ResourceTag/${TagKey}

上的 Claude 平台的條件索引鍵 AWS

上的 Claude Platform AWS 定義了下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aws-external-anthropic:BearerTokenType

依短期或長期承載字符篩選存取權

String

aws-external-anthropic:CalledViaConsole

使用 Claude 平台主控台篩選存取權

Bool

aws-external-anthropic:Capability

依用於主控台工作階段的 Claude 平台角色篩選存取權

String

aws-external-anthropic:KeyArn

依與外部金鑰相關聯的 KMS 金鑰 ARN 篩選存取權

ARN

aws:RequestTag/${TagKey}

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

String

aws:ResourceTag/${TagKey}

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

String

aws:TagKeys

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

ArrayOfString