本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
了解使用警报管理器所需的 IAM 权限
您必须向用户授予在适用于 Prometheus 的亚马逊托管服务中使用警报管理器的权限。创建具有以下权限的 AWS Identity and Access Management (IAM) 策略,并将该策略分配给您的用户、群组或角色。
{ "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": "*" } ] }