AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

EcsDeploymentConfig

A custom Deployment Configuration for an ECS Deployment Group.

Import

import { EcsDeploymentConfig } from 'aws-cdk-lib/aws-codedeploy';

Or use the module namespace:

import * as codedeploy from 'aws-cdk-lib/aws-codedeploy';
// codedeploy.EcsDeploymentConfig

Properties

Configuration passed to the constructor as EcsDeploymentConfigProps.

trafficRoutingOptional
TrafficRouting

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

Default: AllAtOnce

1 property inherited from BaseDeploymentConfigOptions
deploymentConfigNameOptionalinherited from BaseDeploymentConfigOptions
string

The physical, human-readable name of the Deployment Configuration.

Default: - automatically generated name

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter