"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.AlarmStatusWidget=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),widget_1=require("./widget");class AlarmStatusWidget extends widget_1.ConcreteWidget{constructor(props){super(props.width||6,props.height||3);jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_AlarmStatusWidgetProps(props),this.props=props}position(x,y){this.x=x,this.y=y}toJson(){return[{type:"alarm",width:this.width,height:this.height,x:this.x,y:this.y,properties:{title:this.props.title?this.props.title:"Alarm Status",alarms:this.props.alarms.map(alarm=>alarm.alarmArn)}}]}}exports.AlarmStatusWidget=AlarmStatusWidget,_a=JSII_RTTI_SYMBOL_1,AlarmStatusWidget[_a]={fqn:"aws-cdk-lib.aws_cloudwatch.AlarmStatusWidget",version:"2.13.0"};
//# sourceMappingURL=alarm-status-widget.js.map
