"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HeaderWidget = void 0;
const aws_cdk_lib_1 = require("aws-cdk-lib");
class HeaderWidget extends aws_cdk_lib_1.aws_cloudwatch.TextWidget {
    constructor(props) {
        var _a;
        super({
            width: 24,
            height: (_a = props.height) !== null && _a !== void 0 ? _a : 2,
            markdown: `\n# ${props.name}\n${props.desc}\n`,
        });
    }
}
exports.HeaderWidget = HeaderWidget;
