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