"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.LambdaDeploymentConfig=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),base_deployment_config_1=require("../base-deployment-config"),traffic_routing_config_1=require("../traffic-routing-config");class LambdaDeploymentConfig extends base_deployment_config_1.BaseDeploymentConfig{constructor(scope,id,props){super(scope,id,{...props,computePlatform:base_deployment_config_1.ComputePlatform.LAMBDA,trafficRouting:props?.trafficRouting??traffic_routing_config_1.TrafficRouting.allAtOnce()});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_codedeploy_LambdaDeploymentConfigProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,LambdaDeploymentConfig),error}}static fromLambdaDeploymentConfigName(scope,id,lambdaDeploymentConfigName){return this.fromDeploymentConfigName(scope,id,lambdaDeploymentConfigName)}static import(_scope,_id,props){try{jsiiDeprecationWarnings.print("aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig#import","use `fromLambdaDeploymentConfigName`"),jsiiDeprecationWarnings.aws_cdk_lib_aws_codedeploy_LambdaDeploymentConfigImportProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.import),error}return this.fromLambdaDeploymentConfigName(_scope,_id,props.deploymentConfigName)}}exports.LambdaDeploymentConfig=LambdaDeploymentConfig,_a=JSII_RTTI_SYMBOL_1,LambdaDeploymentConfig[_a]={fqn:"aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig",version:"2.46.0"},LambdaDeploymentConfig.ALL_AT_ONCE=LambdaDeploymentConfig.deploymentConfig("CodeDeployDefault.LambdaAllAtOnce"),LambdaDeploymentConfig.CANARY_10PERCENT_30MINUTES=LambdaDeploymentConfig.deploymentConfig("CodeDeployDefault.LambdaCanary10Percent30Minutes"),LambdaDeploymentConfig.CANARY_10PERCENT_5MINUTES=LambdaDeploymentConfig.deploymentConfig("CodeDeployDefault.LambdaCanary10Percent5Minutes"),LambdaDeploymentConfig.CANARY_10PERCENT_10MINUTES=LambdaDeploymentConfig.deploymentConfig("CodeDeployDefault.LambdaCanary10Percent10Minutes"),LambdaDeploymentConfig.CANARY_10PERCENT_15MINUTES=LambdaDeploymentConfig.deploymentConfig("CodeDeployDefault.LambdaCanary10Percent15Minutes"),LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_10MINUTES=LambdaDeploymentConfig.deploymentConfig("CodeDeployDefault.LambdaLinear10PercentEvery10Minutes"),LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_1MINUTE=LambdaDeploymentConfig.deploymentConfig("CodeDeployDefault.LambdaLinear10PercentEvery1Minute"),LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_2MINUTES=LambdaDeploymentConfig.deploymentConfig("CodeDeployDefault.LambdaLinear10PercentEvery2Minutes"),LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_3MINUTES=LambdaDeploymentConfig.deploymentConfig("CodeDeployDefault.LambdaLinear10PercentEvery3Minutes");
//# sourceMappingURL=deployment-config.js.map
