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 Risposta
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.

con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande