"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.EcsDeploymentConfig=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 EcsDeploymentConfig extends base_deployment_config_1.BaseDeploymentConfig{constructor(scope,id,props){super(scope,id,{...props,computePlatform:base_deployment_config_1.ComputePlatform.ECS,trafficRouting:props?.trafficRouting??traffic_routing_config_1.TrafficRouting.allAtOnce()});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_codedeploy_EcsDeploymentConfigProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,EcsDeploymentConfig),error}}static fromEcsDeploymentConfigName(scope,id,ecsDeploymentConfigName){return this.fromDeploymentConfigName(scope,id,ecsDeploymentConfigName)}}exports.EcsDeploymentConfig=EcsDeploymentConfig,_a=JSII_RTTI_SYMBOL_1,EcsDeploymentConfig[_a]={fqn:"aws-cdk-lib.aws_codedeploy.EcsDeploymentConfig",version:"2.46.0"},EcsDeploymentConfig.ALL_AT_ONCE=EcsDeploymentConfig.deploymentConfig("CodeDeployDefault.ECSAllAtOnce"),EcsDeploymentConfig.LINEAR_10PERCENT_EVERY_1MINUTES=EcsDeploymentConfig.deploymentConfig("CodeDeployDefault.ECSLinear10PercentEvery1Minutes"),EcsDeploymentConfig.LINEAR_10PERCENT_EVERY_3MINUTES=EcsDeploymentConfig.deploymentConfig("CodeDeployDefault.ECSLinear10PercentEvery3Minutes"),EcsDeploymentConfig.CANARY_10PERCENT_5MINUTES=EcsDeploymentConfig.deploymentConfig("CodeDeployDefault.ECSCanary10Percent5Minutes"),EcsDeploymentConfig.CANARY_10PERCENT_15MINUTES=EcsDeploymentConfig.deploymentConfig("CodeDeployDefault.ECSCanary10Percent15Minutes");
//# sourceMappingURL=deployment-config.js.map
