enum DeploymentControllerType
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.DeploymentControllerType |
![]() | software.amazon.awscdk.services.ecs.DeploymentControllerType |
![]() | aws_cdk.aws_ecs.DeploymentControllerType |
![]() | @aws-cdk/aws-ecs » DeploymentControllerType |
The deployment controller type to use for the service.
Example
declare const cluster: ecs.Cluster;
const loadBalancedFargateService = new ecsPatterns.ApplicationLoadBalancedFargateService(this, 'Service', {
cluster,
memoryLimitMiB: 1024,
desiredCount: 1,
cpu: 512,
taskImageOptions: {
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
},
deploymentController: {
type: ecs.DeploymentControllerType.CODE_DEPLOY,
},
});
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.