"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SnsAction=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class SnsAction{constructor(topic){this.topic=topic;try{jsiiDeprecationWarnings.aws_cdk_lib_aws_sns_ITopic(topic)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,SnsAction),error}}bind(_scope,_alarm){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_IAlarm(_alarm)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}return{alarmActionArn:this.topic.topicArn}}}exports.SnsAction=SnsAction,_a=JSII_RTTI_SYMBOL_1,SnsAction[_a]={fqn:"aws-cdk-lib.aws_cloudwatch_actions.SnsAction",version:"2.96.1"};
