cdk-monitoring-constructs
Version:
[](https://badge.fury.io/js/cdk-monitoring-constructs) [](https://m
17 lines (16 loc) • 455 B
TypeScript
import { TextWidget } from "aws-cdk-lib/aws-cloudwatch";
export interface KeyValue {
readonly key: string;
readonly value: string;
}
/**
* A widget that displays key-value pairs in a table format.
*/
export declare class KeyValueTableWidget extends TextWidget {
/**
* Creates a key-value table widget.
* @param data An array of key-value pairs as objects
*/
constructor(data: KeyValue[]);
private static toMarkdown;
}