CloudWatch Dashboard Sharing
Initial Setup
Set up SSO for CloudWatch dashboard sharing
When setting Identity Providers on the Cognito User Pool, choose SAML
When prompted for a Metadata document
Upload the IdP Metadata from SAML.to for your User or Organization
When prompted for the Provider name
Input
saml-to
In Dashboard Sharing, select
saml-to
as the Identity ProviderGo to the desired Dashboard in CloudWatch
Click Actions then Share Dashboard
Under Share all your account’s CloudWatch dashboards using single sign-on (SSO)
Under Resources
Make note of the Sharable Link (e.g.
https://cloudwatch.amazonaws.com/dashboard.html?...
)Navigate to the Cognito UserPoolIdentityProvider
Make note of the User Pool ID (e.g.
us-east-1_Q046sC47y
)Under Make note of the Cognito Domain (e.g.
https://cw-db-580360238192.auth.us-east-1.amazoncognito.com
)
Edit
saml-to.yml
in your configured repository and make the following changes:
Replace
YOUR_DASHBOARD_SHAREABLE_LINK
with the Shareable Link aboveReplace
YOUR_USER_POOL_ID
with the User Pool ID aboveReplace
YOUR_COGNITO_DOMAIN
with the Cognito Domain aboveReplace
YOUR_GITHUB_USER_ID
with your GitHub LoginAdd other GitHub users as-needed!
Opening the Dashboard
After installing the SAML.to CLI, run the following command:
Which will open a browser window to the dashboard!
Last updated