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.

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠