Necessary IAM permissions - Amazon Managed Service for Prometheus

Necessary IAM permissions

You must give users permissions to use rules in Amazon Managed Service for Prometheus. Create an AWS Identity and Access Management (IAM) policy with the following permissions, and assign the policy to your users, groups, or roles.

{ "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: ListAlertManagerSilences", "aps: PutAlertManagerSilences", "aps: DeleteAlertManagerSilence", "aps: CreateAlertManagerAlerts" ], "Resource": "*" } ] }