Please visit project Wiki page for documentation.
Read wiki, and configure bin/on-demand-dashboard.ts based on your requirement.
Just like any CDK project, use cdk deploy
cdk deploy CdkOnDemandDashboardStack
Open CloudWatch Dashboard "OnDemandDashboardAdmin" to verify the configuration.
You can disable Admin Dashboard by stack options
Open CloudWatch Dashboard "OnDemandDashboard", and enjoy!
You can use the on-demand-link to activate the dashboard. In case you haven't bookmarked the link, you can find it in description of dashboard lambda.