enum DeploymentControllerType
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.ECS.DeploymentControllerType | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#DeploymentControllerType | 
|  Java | software.amazon.awscdk.services.ecs.DeploymentControllerType | 
|  Python | aws_cdk.aws_ecs.DeploymentControllerType | 
|  TypeScript (source) | aws-cdk-lib»aws_ecs»DeploymentControllerType | 
The deployment controller type to use for the service.
Example
declare const myApplication: codedeploy.EcsApplication;
declare const cluster: ecs.Cluster;
declare const taskDefinition: ecs.FargateTaskDefinition;
declare const blueTargetGroup: elbv2.ITargetGroup;
declare const greenTargetGroup: elbv2.ITargetGroup;
declare const listener: elbv2.IApplicationListener;
const service = new ecs.FargateService(this, 'Service', {
  cluster,
  taskDefinition,
  deploymentController: {
    type: ecs.DeploymentControllerType.CODE_DEPLOY,
  },
});
new codedeploy.EcsDeploymentGroup(this, 'BlueGreenDG', {
  service,
  blueGreenDeploymentConfig: {
    blueTargetGroup,
    greenTargetGroup,
    listener,
  },
  deploymentConfig: codedeploy.EcsDeploymentConfig.CANARY_10PERCENT_5MINUTES,
});
Members
| Name | Description | 
|---|---|
| ECS | The rolling update (ECS) deployment type involves replacing the current running version of the container with the latest version. | 
| CODE_DEPLOY | The blue/green (CODE_DEPLOY) deployment type uses the blue/green deployment model powered by AWS CodeDeploy. | 
| EXTERNAL | The external (EXTERNAL) deployment type enables you to use any third-party deployment controller. | 
ECS
The rolling update (ECS) deployment type involves replacing the current running version of the container with the latest version.
CODE_DEPLOY
The blue/green (CODE_DEPLOY) deployment type uses the blue/green deployment model powered by AWS CodeDeploy.
EXTERNAL
The external (EXTERNAL) deployment type enables you to use any third-party deployment controller.
