View a markdown version of this page

Amazon CodeGuru Profiler 的動作、資源與條件索引鍵 - 服務授權參考

Amazon CodeGuru Profiler 的動作、資源與條件索引鍵

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

參考資料:

Amazon CodeGuru Profiler 定義的 API 操作

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

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

AddNotificationChannels

codeguru-profiler:AddNotificationChannels

寫入

BatchGetFrameMetricData

codeguru-profiler:BatchGetFrameMetricData

清單

ConfigureAgent

codeguru-profiler:ConfigureAgent

寫入

CreateProfilingGroup

codeguru-profiler:CreateProfilingGroup

寫入

codeguru-profiler:TagResource

標記、寫入

DeleteProfilingGroup

codeguru-profiler:DeleteProfilingGroup

寫入

DescribeProfilingGroup

codeguru-profiler:DescribeProfilingGroup

讀取

GetFindingsReportAccountSummary

codeguru-profiler:GetFindingsReportAccountSummary

讀取

GetNotificationConfiguration

codeguru-profiler:GetNotificationConfiguration

讀取

GetPolicy

codeguru-profiler:GetPolicy

讀取

GetProfile

codeguru-profiler:GetProfile

讀取

GetRecommendations

codeguru-profiler:GetRecommendations

讀取

ListFindingsReports

codeguru-profiler:ListFindingsReports

清單

ListProfileTimes

codeguru-profiler:ListProfileTimes

清單

ListProfilingGroups

codeguru-profiler:ListProfilingGroups

清單

ListTagsForResource

codeguru-profiler:ListTagsForResource

清單

PostAgentProfile

codeguru-profiler:PostAgentProfile

寫入

PutPermission

codeguru-profiler:PutPermission

許可管理、寫入

RemoveNotificationChannel

codeguru-profiler:RemoveNotificationChannel

寫入

RemovePermission

codeguru-profiler:RemovePermission

許可管理、寫入

SubmitFeedback

codeguru-profiler:SubmitFeedback

寫入

TagResource

codeguru-profiler:TagResource

標記、寫入

UntagResource

codeguru-profiler:UntagResource

標記、寫入

UpdateProfilingGroup

codeguru-profiler:UpdateProfilingGroup

寫入

由 Amazon CodeGuru Profiler 定義的動作

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

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

AddNotificationChannels

准許新增最多 2 個現有 AWS SNS 主題的主題 ARNs 來發佈通知

ProfilingGroup*

aws:ResourceTag/${TagKey}

寫入

BatchGetFrameMetricData

准許取得分析群組的框架指標資料

ProfilingGroup*

aws:ResourceTag/${TagKey}

清單

ConfigureAgent

准許向協同運作服務註冊及擷取由代理程式使用的分析組態資訊

ProfilingGroup*

aws:ResourceTag/${TagKey}

寫入

CreateProfilingGroup

准許建立分析群組

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

DeleteProfilingGroup

准許刪除分析群組

ProfilingGroup*

aws:ResourceTag/${TagKey}

寫入

DescribeProfilingGroup

准許描述分析群組

ProfilingGroup*

aws:ResourceTag/${TagKey}

讀取

GetFindingsReportAccountSummary

准許取得帳戶中每個分析群組的最近建議摘要

讀取

GetNotificationConfiguration

准許取得通知組態

ProfilingGroup*

aws:ResourceTag/${TagKey}

讀取

GetPolicy

准許取得與指定的分析群組相關聯的資源政策

ProfilingGroup*

aws:ResourceTag/${TagKey}

讀取

GetProfile

准許取得特定分析群組的彙總描述檔

ProfilingGroup*

aws:ResourceTag/${TagKey}

讀取

GetRecommendations

授予取得建議的許可

ProfilingGroup*

aws:ResourceTag/${TagKey}

讀取

ListFindingsReports

准許列出特定分析群組的可用建議報告

ProfilingGroup*

aws:ResourceTag/${TagKey}

清單

ListProfileTimes

准許列出特定分析群組之可用彙總描述檔的開始時間

ProfilingGroup*

aws:ResourceTag/${TagKey}

清單

ListProfilingGroups

准許列出帳戶中的分析群組

清單

ListTagsForResource

准許列出分析群組的標籤

ProfilingGroup*

aws:ResourceTag/${TagKey}

清單

PostAgentProfile

准許提交屬於特定分析群組之代理程式所收集的描述檔以進行彙總

ProfilingGroup*

aws:ResourceTag/${TagKey}

寫入

PutPermission

准許在與指定的分析群組相關聯之資源政策中,更新動作群組所允許的主體清單

ProfilingGroup*

aws:ResourceTag/${TagKey}

許可管理、寫入

RemoveNotificationChannel

准許從通知組態中刪除已設定的 SNStopic arn

ProfilingGroup*

aws:ResourceTag/${TagKey}

寫入

RemovePermission

准許從與指定的分析群組相關聯的資源政策中,移除指定的動作群組

ProfilingGroup*

aws:ResourceTag/${TagKey}

許可管理、寫入

SubmitFeedback

准許提交使用者對有用或無用異常的意見回饋

ProfilingGroup*

aws:ResourceTag/${TagKey}

寫入

TagResource

准許新增或覆寫分析群組的標籤

ProfilingGroup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

UntagResource

准許從分析群組中移除標籤

ProfilingGroup*

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

UpdateProfilingGroup

准許更新特定分析群組

ProfilingGroup*

aws:ResourceTag/${TagKey}

寫入

由 Amazon CodeGuru Profiler 定義的資源類型

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

資源類型 ARN 條件索引鍵

ProfilingGroup

arn:${Partition}:codeguru-profiler:${Region}:${Account}:profilingGroup/${ProfilingGroupName}

aws:ResourceTag/${TagKey}

Amazon CodeGuru Profiler 的條件索引鍵

Amazon CodeGuru Profiler 定義下列條件金鑰,可用於 IAM 政策的 Condition 元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依請求中的標籤鍵值對是否存在篩選存取權

String

aws:ResourceTag/${TagKey}

依連接到資源的標籤鍵值對篩選存取權

String

aws:TagKeys

依請求中是否存在標籤索引鍵來篩選存取

ArrayOfString