AWS Well-Architected Tool 的動作、資源和條件索引鍵 - 服務授權參考

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

AWS Well-Architected Tool 的動作、資源和條件索引鍵

AWS Well-Architected 的工具 (服務前置詞:wellarchitected) 提供下列服務特定的資源、動作和條件內容金鑰,以便在權限原則中IAM使用。

參考資料:

AWS Well-Architected Tool 定義的動作

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

「動作」資料表的資源類型欄會指出每個動作是否支援資源層級的許可。如果此欄沒有值,您必須在政策陳述式的 Resource 元素中指定政策適用的所有資源 ("*")。如果資料行包含資源類型,則您可以使用該動作在陳述式中指定該類型ARN的類型。如果動作具有一或多個必要資源,呼叫者必須具有對這些資源使用動作的許可。表格中的必要資源會以星號 (*) 表示。如果您使用策略中的Resource元素限制資源存取,IAM則必須針對每個所需資源類型包含ARN或模式。某些動作支援多種資源類型。如果資源類型是選用 (未顯示為必要),則您可以選擇使用其中一種選用資源類型。

「動作」資料表的條件索引鍵欄包含您可以在政策陳述式的 Condition 元素中指定的索引鍵。如需有關與服務資源相關聯之條件索引鍵的詳細資訊,請參閱「資源類型」資料表的條件索引鍵欄。

注意

資源條件索引鍵會列在資源類型資料表中。您可以在「動作」資料表的資源類型 (*必填) 欄中找到適用於動作的資源類型連結。「資源類型」資料表中的資源類型包括條件索引鍵欄,其中包含套用至「動作」資料表中動作的資源條件索引鍵。

如需下表各欄的詳細資訊,請參閱動作資料表

動作 描述 存取層級 資源類型 (*必填項目) 條件索引鍵 相依動作
AssociateLenses 准許將 Lens 關聯至指定工作負載 寫入

workload*

aws:ResourceTag/${TagKey}

AssociateProfiles 准許將設定檔關聯至指定工作負載 寫入

workload*

aws:ResourceTag/${TagKey}

ConfigureIntegration [僅限許可] 授與設定整合的權限 寫入
CreateLensShare 授予鏡頭擁有者與其他 AWS 帳戶和IAM使用者共用的權限 寫入

lens*

aws:ResourceTag/${TagKey}

CreateLensVersion 准許建立新的 Lens 版本 寫入

lens*

aws:ResourceTag/${TagKey}

CreateMilestone 准許為指定工作負載建立新的里程碑 寫入

workload*

aws:ResourceTag/${TagKey}

CreateProfile 准許建立新設定檔 寫入

aws:RequestTag/${TagKey}

aws:TagKeys

CreateProfileShare 授予設定檔擁有者與其他 AWS 帳戶和IAM使用者共用的權限 寫入

profile*

aws:ResourceTag/${TagKey}

CreateReviewTemplate 准許建立新檢閱範本 寫入

aws:RequestTag/${TagKey}

aws:TagKeys

CreateTemplateShare 授予檢閱範本擁有者與其他 AWS 帳戶和IAM使用者共用的權限 寫入

review-template*

aws:ResourceTag/${TagKey}

CreateWorkload 准許建立新的工作負載 寫入

aws:RequestTag/${TagKey}

aws:TagKeys

wellarchitected:JiraProjectKey

CreateWorkloadShare 准許與其他帳戶共用工作負載 寫入

workload*

aws:ResourceTag/${TagKey}

DeleteLens 准許刪除 Lens 寫入

lens*

aws:ResourceTag/${TagKey}

DeleteLensShare 准許刪除現有 Lens 分享 寫入

lens*

aws:ResourceTag/${TagKey}

DeleteProfile 准許刪除設定檔 寫入

profile*

aws:ResourceTag/${TagKey}

DeleteProfileShare 准許刪除現有的設定檔分享 寫入

profile*

aws:ResourceTag/${TagKey}

DeleteReviewTemplate 准許刪除現有的檢閱範本 寫入

review-template*

aws:ResourceTag/${TagKey}

DeleteTemplateShare 准許刪除現有的檢閱範本共用 寫入

review-template*

aws:ResourceTag/${TagKey}

DeleteWorkload 准許刪除現有的工作負載 寫入

workload*

aws:ResourceTag/${TagKey}

DeleteWorkloadShare 准許刪除現有的工作負載共享 寫入

workload*

aws:ResourceTag/${TagKey}

DisassociateLenses 准許將 Lens 與指定工作負載取消關聯 寫入

workload*

aws:ResourceTag/${TagKey}

DisassociateProfiles 准許取消設定檔與指定工作負載的關聯 寫入

workload*

aws:ResourceTag/${TagKey}

ExportLens 准許匯出現有 Lens 讀取

lens*

aws:ResourceTag/${TagKey}

GetAnswer 准許從指定 Lens 審查擷取指定答案 讀取

workload*

aws:ResourceTag/${TagKey}

GetConsolidatedReport 授予取得合併報表量度或PDF在此帳戶中產生合併報表的權限 讀取
GetGlobalSettings 授予取得帳戶所有設定的權限 讀取
GetLens 准許取得現有 Lens 讀取

lens*

aws:ResourceTag/${TagKey}

GetLensReview 准許擷取指定工作負載的指定 Lens 審查 讀取

workload*

aws:ResourceTag/${TagKey}

GetLensReviewReport 准許擷取指定 Lens 審查的報告 讀取

workload*

aws:ResourceTag/${TagKey}

GetLensVersionDifference 准許取得指定 Lens 版本與最新可用 Lens 版本之間的差異 讀取

lens*

aws:ResourceTag/${TagKey}

GetMilestone 准許擷取指定工作負載的指定里程碑 讀取

workload*

aws:ResourceTag/${TagKey}

GetProfile 准許擷取指定設定檔 讀取

profile*

aws:ResourceTag/${TagKey}

GetProfileTemplate 准許擷取指定設定檔範本 讀取
GetReviewTemplate 准許擷取指定的檢閱範本 讀取

review-template*

aws:ResourceTag/${TagKey}

GetReviewTemplateAnswer 准許從指定檢閱範本 Lens 檢閱中擷取指定答案 讀取

review-template*

aws:ResourceTag/${TagKey}

GetReviewTemplateLensReview 准許擷取指定檢閱範本的指定 Lens 檢閱 讀取

review-template*

aws:ResourceTag/${TagKey}

GetWorkload 准許擷取指定工作負載 讀取

workload*

aws:ResourceTag/${TagKey}

ImportLens 准許匯入新的 Lens 寫入

aws:RequestTag/${TagKey}

aws:TagKeys

ListAnswers 准許列出指定 Lens 審查的答案 清單

workload*

aws:ResourceTag/${TagKey}

ListCheckDetails 准許列出工作負載的檢查詳細資訊 清單

workload*

aws:ResourceTag/${TagKey}

ListCheckSummaries 准許列出工作負載的檢查摘要 清單

workload*

aws:ResourceTag/${TagKey}

ListLensReviewImprovements 准許列出指定 Lens 審查的改進功能 列出

workload*

aws:ResourceTag/${TagKey}

ListLensReviews 准許列出指定工作負載的 Lens 審查 列出

workload*

aws:ResourceTag/${TagKey}

ListLensShares 准許列出為 Lens 建立的所有分享 列出

lens*

aws:ResourceTag/${TagKey}

ListLenses 准許列出此帳戶的可用 Lens 列出
ListMilestones 准許列出指定工作負載的里程碑 列出

workload*

aws:ResourceTag/${TagKey}

ListNotifications 准許列出與帳戶或指定資源相關的通知 清單
ListProfileNotifications 准許列出與指定資源相關聯的設定檔通知 清單
ListProfileShares 准許列出為設定檔建立的所有分享 清單

profile*

aws:ResourceTag/${TagKey}

ListProfiles 准許列出此帳戶的可用設定檔 清單
ListReviewTemplateAnswers 准許列出指定檢閱範本 Lens 檢閱中的答案 清單

review-template*

aws:ResourceTag/${TagKey}

ListReviewTemplates 准許列出此帳戶可用的檢閱範本 清單
ListShareInvitations 准許列出指定帳戶或使用者的工作負載共享邀請 列出
ListTagsForResource 准許列出 Well-Architected 資源的標籤 讀取

lens

profile

review-template

workload

aws:ResourceTag/${TagKey}

ListTemplateShares 准許列出為檢閱範本建立的所有共用 清單

review-template*

aws:ResourceTag/${TagKey}

ListWorkloadShares 准許列出指定工作負載的工作負載共享 列出

workload*

aws:ResourceTag/${TagKey}

ListWorkloads 准許列出此帳戶中的工作負載 列出
TagResource 准許標記 Well-Architected 資源 標記

lens

profile

review-template

workload

aws:TagKeys

aws:RequestTag/${TagKey}

UntagResource 准許取消標記 Well-Architected 資源 標記

lens

profile

review-template

workload

aws:TagKeys

UpdateAnswer 准許更新指定答案的屬性 寫入

workload*

aws:ResourceTag/${TagKey}

UpdateGlobalSettings 授予管理帳戶所有設定的權限 寫入

wellarchitected:JiraProjectKey

UpdateIntegration 授與更新整合內容的權限 寫入

workload*

aws:ResourceTag/${TagKey}

UpdateLensReview 准許更新指定 Lens 審查的屬性 寫入

workload*

aws:ResourceTag/${TagKey}

UpdateProfile 准許更新指定設定檔的屬性 寫入

profile*

aws:ResourceTag/${TagKey}

UpdateReviewTemplate 准許更新指定檢閱範本的屬性 寫入

review-template*

aws:ResourceTag/${TagKey}

UpdateReviewTemplateAnswer 准許更新指定檢閱範本答案的屬性 寫入

review-template*

aws:ResourceTag/${TagKey}

UpdateReviewTemplateLensReview 准許更新指定檢閱範本 Lens 檢閱的屬性 寫入

review-template*

aws:ResourceTag/${TagKey}

UpdateShareInvitation 准許更新指定工作負載共享邀請的狀態 寫入
UpdateWorkload 准許更新指定工作負載的屬性 寫入

workload*

aws:ResourceTag/${TagKey}

wellarchitected:JiraProjectKey

UpdateWorkloadShare 授與更新指定工作負載共用之屬性的權限 寫入

workload*

aws:ResourceTag/${TagKey}

UpgradeLensReview 准許將指定的 Lens 審查升級為使用最新版的關聯 Lens 寫入

workload*

aws:ResourceTag/${TagKey}

UpgradeProfileVersion 准許將指定的工作負載升級為使用最新版的關聯設定檔 寫入

profile*

workload*

aws:ResourceTag/${TagKey}

UpgradeReviewTemplateLensReview 准許更新指定檢閱範本的指定 Lens 檢閱 寫入

review-template*

aws:ResourceTag/${TagKey}

AWS Well-Architected Tool 定義的資源類型

下列資源類型由此服務定義,可用於IAM權限原則陳述式的Resource元素中。動作資料表中的每個動作都會指明可使用該動作指定的資源類型。資源類型也能定義您可以在政策中包含哪些條件索引鍵。這些索引鍵都會顯示在「資源類型」資料表的最後一欄。如需下表各欄的詳細資訊,請參閱資源類型資料表

資源類型 ARN 條件索引鍵
workload arn:${Partition}:wellarchitected:${Region}:${Account}:workload/${ResourceId}

aws:ResourceTag/${TagKey}

lens arn:${Partition}:wellarchitected:${Region}:${Account}:lens/${ResourceId}

aws:ResourceTag/${TagKey}

profile arn:${Partition}:wellarchitected:${Region}:${Account}:profile/${ResourceId}

aws:ResourceTag/${TagKey}

review-template arn:${Partition}:wellarchitected:${Region}:${Account}:review-template/${ResourceId}

aws:ResourceTag/${TagKey}

AWS Well-Architected Tool 的條件索引鍵

AWS Well-Architected 的工具會定義下列可在原則Condition元素中使用的條件索引鍵。IAM您可以使用這些索引鍵來縮小套用政策陳述式的條件。如需下表各欄的詳細資訊,請參閱條件索引鍵資料表

若要檢視所有服務都可使用的全域條件索引鍵,請參閱可用全域條件索引鍵

條件索引鍵 描述 類型
aws:RequestTag/${TagKey} 依請求中的標籤鍵值對篩選存取權 字串
aws:ResourceTag/${TagKey} 依連接到資源的標籤鍵值對篩選存取權 字串
aws:TagKeys 依請求中的標籤索引鍵篩選存取權 ArrayOfString
wellarchitected:JiraProjectKey 依專案金鑰篩選存取 字串