This is the companion repository for the blog post Visualizing Amazon Connect instance metrics with Amazon CloudWatch.
This AWS CDK will create an Amazon CloudWatch Dashboard which displays Connect metrics in the form of graph widgets. To deploy the dashboard in your AWS account, do the following. Note: Please make sure you login into the correct AWS Account and Region that contains your Amazon Connect instance(s).
- Login into your AWS account and select the appropriate Region.
- Open AWS CloudShell.
- At the terminal prompt, clone this repo:
git clone https://github.com/aws-samples/amazon-connect-instance-dashboard.git
. Note: if you are not using CloudShell to deploy this solution, you will need to revisebin/amazon-connect-instance-level-dashboard.ts
with the correct location of the parameters file. - Using a standard text editor, create a text file named
dashboardparameters.json
. Copy this into the file:
{
"ConnectInstanceId": "placeholder-instance-id (36 characters)",
"ConnnectInstanceName": "placeholder-name",
"ConnectQueues": [
"BasicQueue",
"placeholder-queue-name1",
"placeholder-queue-name2"
]
}
- Replace the placeholder values with your Connect instance details. Make sure the file contains valid JSON.
- Upload the dashboardparameters.json file to CloudShell using the
Actions
menu. - In the CloudShell terminal, enter:
cd amazon-connect-instance-dashboard
. - Then enter the following commands:
npm install
cdk bootstrap
cdk deploy
- After a few minutes the dashboard should be deployed.
- In the AWS Console, go to CloudWatch. On the left side, click Dashboards.
- You should see the Dashboard listed in the middle.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.