Create a dashboard in the AWS Cloudwatch using the best practices from Halloumi.
From pip:
pip install halloumi-cloudwatch-dashboard
From npm:
npm install halloumi-cloudwatch-dashboard
Check API Documentation
from aws_cdk import core
from halloumi-cloudwatch-dashboard import Dashboard
app = core.App()
stack = core.Stack(app, 'MainStack')
...
Dashboard(
stack,
'Dashboard',
dashboardName='MyDashboard'
)
import * as cdk from '@aws-cdk/core';
import { Dashboard } from '@halloumi-cloudwatch-dashboard';
export class CdkWorkshopStack extends cdk.Stack {
constructor(scope: cdk.App, id: string, props?: cdk.StackProps) {
super(scope, id, props);
Dashboard(this, 'Dashboard', dashboardName='MyDashboard');
}
}