How can I grant permission to a user to view Elasticache Metrics in Elasticache console?

0

I have tried by adding an inline policy in Identity center as follows; "Effect": "Allow", "Action":"cloudwatch:" "Resource": [ "arn:aws:elasticache:ap-south-1:**:****:cache-name" ] But still when I check in elasticache console it says "you can't view the metrics, no cloudwatch:getmetricdata permission" Evene I tried by just giving Action: cloudwatch:GetMetricData but no luck How can I fix this?

1 個回答
0

If the action in the inline policy was literally: "cloudwatch:" then that won't work. You are missing an action or asterisk (*) after the colon. I was able to recreate this by not having anything after the colon.

Either use: "cloudwatch:GetMetricData" or "cloudwatch:*" to resolve this.

If you did try "cloudwatch:GetMetricData" and it didn't work still ensure that the resource ARN is correct and that you are using an Allow effect in the policy.

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南