Reputation: 35
I have a use case to create a separate cloudwatch dashboard(or views) for admins and developers, can I restrict a user to view cloudwatch dashboard based on the user's assumed role ? Is it something that AWS allows to configure a IAM access policy for each dashboard ?
Thanks
Upvotes: 0
Views: 1204
Reputation: 15237
You can not share/restrict access to a specific dashboard using roles/IAM.
When working with policies using CloudWatch we have the following:
cloudwatch:GetDashboard
and cloudwatch:ListDashboards
to be able to view all dashboardscloudwatch:PutDashboard
to be able to create or modify dashboardscloudwatch:DeleteDashboards
to be able to delete dashboardsWith these options we do not have the option to specify the access to a specific dashboard.
If you want to share the dashboard with specific users, we can do this sharing with their emails. To understand how to do this, check here: Share a single dashboard with specific users
Also, take a look on these pages:
Upvotes: 2