"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RuntimeManagementMode=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class RuntimeManagementMode{mode;arn;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_lambda.RuntimeManagementMode",version:"2.256.1"};static AUTO=new RuntimeManagementMode("Auto");static FUNCTION_UPDATE=new RuntimeManagementMode("FunctionUpdate");static manual(arn){return new RuntimeManagementMode("Manual",arn)}runtimeManagementConfig;constructor(mode,arn){this.mode=mode,this.arn=arn,arn?this.runtimeManagementConfig={runtimeVersionArn:arn,updateRuntimeOn:mode}:this.runtimeManagementConfig={updateRuntimeOn:mode}}}exports.RuntimeManagementMode=RuntimeManagementMode;
