View a markdown version of this page

Amazon Q Developer 的動作、資源和條件索引鍵 - 服務授權參考

Amazon Q Developer 的動作、資源和條件索引鍵

Amazon Q Developer (服務字首:qdeveloper) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

Amazon Q Developer 定義的動作

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

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

ExportArtifact

准許從 Amazon Q Developer 匯出成品

codeTransformation

aws:ResourceTag/${TagKey}

寫入

ImportArtifact

准許將成品匯入 Amazon Q Developer

codeTransformation

aws:ResourceTag/${TagKey}

寫入

StartAgentSession

准許使用 Amazon Q Developer 啟動代理程式工作階段

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

TransformCode

准許使用 Amazon Q Developer Transform Agent 轉換程式碼

codeTransformation

aws:ResourceTag/${TagKey}

寫入

Amazon Q Developer 的僅限許可動作

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

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

ListTagsForResource

准許列出與 Amazon Q Developer 資源相關聯的所有標籤

codeTransformation

aws:ResourceTag/${TagKey}

清單

TagResource

准許將標籤與 Amazon Q Developer 資源建立關聯

codeTransformation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

UntagResource

准許移除與 Amazon Q Developer 資源相關聯的標籤

codeTransformation

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

Amazon Q Developer 定義的資源類型

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

資源類型 ARN 條件索引鍵

codeTransformation

arn:${Partition}:qdeveloper:${Region}:${Account}:codeTransformation/${Identifier}

aws:ResourceTag/${TagKey}

Amazon Q Developer 的條件索引鍵

Amazon Q Developer 定義下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

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

String

aws:ResourceTag/${TagKey}

依與 Amazon Q Developer 資源相關聯的標籤篩選存取權

String

aws:TagKeys

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

ArrayOfString