"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.TextWidget=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),widget_1=require("./widget");class TextWidget extends widget_1.ConcreteWidget{constructor(props){super(props.width||6,props.height||2);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_TextWidgetProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.constructor),error}this.markdown=props.markdown}position(x,y){this.x=x,this.y=y}toJson(){return[{type:"text",width:this.width,height:this.height,x:this.x,y:this.y,properties:{markdown:this.markdown}}]}}exports.TextWidget=TextWidget,_a=JSII_RTTI_SYMBOL_1,TextWidget[_a]={fqn:"aws-cdk-lib.aws_cloudwatch.TextWidget",version:"2.21.0"};
//# sourceMappingURL=text.js.map
