"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.AutoScalingAction=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class AutoScalingAction{constructor(stepScalingAction){this.stepScalingAction=stepScalingAction;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_autoscaling_StepScalingAction(stepScalingAction)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,AutoScalingAction),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.stepScalingAction.scalingPolicyArn}}}exports.AutoScalingAction=AutoScalingAction,_a=JSII_RTTI_SYMBOL_1,AutoScalingAction[_a]={fqn:"aws-cdk-lib.aws_cloudwatch_actions.AutoScalingAction",version:"2.148.1"};
