本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
了解使用警示管理員所需的 IAM 許可
您必須授予使用者在 Amazon Managed Service for Prometheus 中使用提醒管理員的許可。建立具有下列許可的 AWS Identity and Access Management
(IAM) 政策,並將政策指派給您的使用者、群組或角色。
- JSON
-
-
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"aps:CreateAlertManagerDefinition",
"aps:DescribeAlertManagerSilence",
"aps:DescribeAlertManagerDefinition",
"aps:PutAlertManagerDefinition",
"aps:DeleteAlertManagerDefinition",
"aps:ListAlerts",
"aps:ListRules",
"aps:ListAlertManagerReceivers",
"aps:ListAlertManagerSilences",
"aps:ListAlertManagerAlerts",
"aps:ListAlertManagerAlertGroups",
"aps:GetAlertManagerStatus",
"aps:GetAlertManagerSilence",
"aps:PutAlertManagerSilences",
"aps:DeleteAlertManagerSilence",
"aps:CreateAlertManagerAlerts"
],
"Resource": "*"
}
]
}