Amazon Q Business Q 應用程式的動作、資源和條件索引鍵
Amazon Q Business Q Apps (服務字首:qapps) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。
參考資料:
-
了解如何設定此服務。
-
檢視可供此服務使用的 API 操作清單。
-
了解如何使用 IAM 許可政策來保護此服務及其資源。
-
檢視此服務的程式設計服務授權參考
。
主題
Amazon Q Business Q 應用程式定義的 API 操作
下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。
| 作業 | IAM 動作 | 條件鍵 | 可能的值 (s) | 存取層級 |
|---|---|---|---|---|
|
AssociateLibraryItemReview |
寫入 |
|||
|
AssociateQAppWithUser |
寫入 |
|||
|
BatchCreateCategory |
寫入 |
|||
|
BatchDeleteCategory |
寫入 |
|||
|
BatchUpdateCategory |
寫入 |
|||
|
CreateLibraryItem |
寫入 |
|||
|
CreatePresignedUrl |
寫入 |
|||
|
CreateQApp |
寫入 |
|||
|
DeleteLibraryItem |
寫入 |
|||
|
DeleteQApp |
寫入 |
|||
|
DescribeQAppPermissions |
讀取 |
|||
|
DisassociateLibraryItemReview |
寫入 |
|||
|
DisassociateQAppFromUser |
寫入 |
|||
|
ExportQAppSessionData |
寫入 |
|||
|
GetLibraryItem |
讀取 |
|||
|
GetQApp |
讀取 |
|||
|
GetQAppSession |
讀取 |
|||
|
GetQAppSessionMetadata |
讀取 |
|||
|
ImportDocument |
寫入 |
|||
|
ListCategories |
清單 |
|||
|
ListLibraryItems |
清單 |
|||
|
ListQAppSessionData |
讀取 |
|||
|
ListQApps |
清單 |
|||
|
ListTagsForResource |
讀取 |
|||
|
StartQAppSession |
寫入 |
|||
|
StopQAppSession |
寫入 |
|||
|
TagResource |
標記、寫入 |
|||
|
UntagResource |
標記、寫入 |
|||
|
UpdateLibraryItem |
寫入 |
|||
|
UpdateLibraryItemMetadata |
寫入 |
|||
|
UpdateQApp |
寫入 |
|||
|
UpdateQAppPermissions |
寫入 |
|||
|
UpdateQAppSession |
寫入 |
|||
|
UpdateQAppSessionMetadata |
寫入 |
Amazon Q Business Q 應用程式定義的動作
您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。
| 動作 | 說明 | 資源類型 (*必填項目) | 條件索引鍵 | 存取層級 |
|---|---|---|---|---|
准許在 Q Business 應用程式環境中關聯程式庫項目檢閱 |
寫入 |
|||
准許在 Q Business 應用程式環境中將 Q 應用程式與使用者建立關聯 |
寫入 |
|||
准許在 Q Business 應用程式環境中建立程式庫的類別 |
寫入 |
|||
准許在 Q Business 應用程式環境中刪除程式庫的類別 |
寫入 |
|||
准許在 Q Business 應用程式環境中更新程式庫的類別 |
寫入 |
|||
准許在 Q Business 應用程式環境中建立程式庫項目 |
寫入 |
|||
准許在 Q Business 應用程式環境中建立 Q 應用程式 |
寫入 |
|||
准許在 Q Business 應用程式環境中刪除程式庫項目 |
寫入 |
|||
准許在 Q Business 應用程式環境中刪除 Q 應用程式 |
寫入 |
|||
准許在 Q Business 應用程式環境中取得 Q 應用程式共用許可 |
讀取 |
|||
准許在 Q Business 應用程式環境中取消程式庫項目檢閱的關聯 |
寫入 |
|||
准許在 Q Business 應用程式環境中取消 Q 應用程式與使用者的關聯 |
寫入 |
|||
准許在 Q Business 應用程式環境中匯出 Q App 工作階段資料 |
寫入 |
|||
准許在 Q Business 應用程式環境中取得程式庫項目 |
讀取 |
|||
准許在 Q Business 應用程式環境中取得 Q 應用程式 |
讀取 |
|||
准許在 Q Business 應用程式環境中取得 Q 應用程式工作階段 |
讀取 |
|||
准許在 Q Business 應用程式環境中取得 Q App 工作階段中繼資料 |
讀取 |
|||
准許將文件匯入 Q Business 應用程式環境中的 Q App 或 Q App Session |
寫入 |
|||
准許列出 Q Business 應用程式環境中的類別 |
清單 |
|||
准許列出 Q Business 應用程式環境中的程式庫項目 |
清單 |
|||
准許在 Q Business 應用程式環境中取得 Q App 工作階段資料 |
讀取 |
|||
准許在 Q Business 應用程式環境中列出 Q 應用程式 |
清單 |
|||
准許列出資源的標籤 |
讀取 |
|||
准許從 Q Business 應用程式環境中的對話日誌或問題陳述式預測 Q 應用程式 |
寫入 |
|||
准許在 Q Business 應用程式環境中啟動 Q 應用程式工作階段 |
寫入 |
|||
准許在 Q Business 應用程式環境中停止 Q 應用程式工作階段 |
寫入 |
|||
准許使用指定金鑰值配對來標記資源 |
標記、寫入 |
|||
准許從資源中刪除具有給定索引鍵的標籤 |
標記、寫入 |
|||
准許在 Q Business 應用程式環境中更新程式庫項目 |
寫入 |
|||
准許更新 Q Business 應用程式環境中程式庫項目的中繼資料 |
寫入 |
|||
准許在 Q Business 應用程式環境中更新 Q 應用程式 |
寫入 |
|||
准許在 Q Business 應用程式環境中更新 Q 應用程式共用許可 |
寫入 |
|||
准許在 Q Business 應用程式環境中更新 Q 應用程式工作階段 |
寫入 |
|||
准許在 Q Business 應用程式環境中更新 Q App 工作階段中繼資料 |
寫入 |
Amazon Q Business Q 應用程式僅限許可的動作
下列動作是由 Amazon Q Business Q 應用程式定義,但無法透過任何 API 操作直接叫用。它們只能在 IAM 政策陳述式中使用,以授予或拒絕許可。
| 動作 | 說明 | 資源類型 (*必填項目) | 條件索引鍵 | 存取層級 |
|---|---|---|---|---|
准許在 Q Business 應用程式環境中複製 Q 應用程式 |
寫入 |
|||
准許在 Q Business 應用程式環境中建立程式庫項目檢閱 |
寫入 |
|||
准許訂閱 Q Business 應用程式環境中的 Q App 事件匯流排主題 |
寫入 |
|||
准許預測 Q Business 應用程式環境中對話日誌中的問題陳述式 |
寫入 |
|||
准許從 Q Business 應用程式環境中的問題陳述式預測 Q 應用程式中繼資料 |
寫入 |
Amazon Q Business Q 應用程式定義的資源類型
此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。
| 資源類型 | ARN | 條件索引鍵 |
|---|---|---|
arn:${Partition}:qbusiness:${Region}:${Account}:application/${ApplicationId} |
||
arn:${Partition}:qapps:${Region}:${Account}:application/${ApplicationId}/qapp/${AppId} |
||
arn:${Partition}:qapps:${Region}:${Account}:application/${ApplicationId}/qapp/${AppId}/session/${SessionId} |
Amazon Q Business Q 應用程式的條件索引鍵
Amazon Q Business Q Apps 定義下列條件索引鍵,可用於 IAM 政策的 Condition元素。
| 條件索引鍵 | 描述 | Type |
|---|---|---|
依要求中傳遞的標籤來篩選存取權 |
String |
|
依與資源關聯的標籤來篩選存取權 |
String |
|
依要求中傳遞的標籤索引鍵來篩選存取權 |
ArrayOfString |
|
依 Q 應用程式是否發佈來篩選存取權 |
String |
|
依是否共用 Q 應用程式工作階段來篩選存取權 |
String |
|
依請求者是否為 Q 應用程式擁有者來篩選存取權 |
String |
|
依請求者是否為 Q App Session 主持人來篩選存取權 |
String |