Skip to content
v2.275.0

EcsDeploymentConfigProps Struct ​

Construction properties of EcsDeploymentConfig.

Example ​

ts
new codedeploy.EcsDeploymentConfig(this, 'CustomConfig', {
  trafficRouting: new codedeploy.TimeBasedCanaryTrafficRouting({
    interval: Duration.minutes(15),
    percentage: 5,
  }),
});

Properties ​

deploymentConfigNameoptionalstringdeployment_config_nameoptionalstrdeploymentConfigNameoptionalStringDeploymentConfigNameoptionalstringDeploymentConfigNameoptional*string#
The physical, human-readable name of the Deployment Configuration.

Default: automatically generated name

trafficRoutingoptionalTrafficRoutingtraffic_routingoptionalTrafficRoutingtrafficRoutingoptionalTrafficRoutingTrafficRoutingoptionalTrafficRoutingTrafficRoutingoptionalTrafficRouting= AllAtOnce#
The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.