aws-cdk-lib.aws_ecs.CfnService.DeploymentControllerProperty

interface DeploymentControllerProperty

LanguageType name
.NETAmazon.CDK.AWS.ECS.CfnService.DeploymentControllerProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnService_DeploymentControllerProperty
Javasoftware.amazon.awscdk.services.ecs.CfnService.DeploymentControllerProperty
Pythonaws_cdk.aws_ecs.CfnService.DeploymentControllerProperty
TypeScript aws-cdk-lib » aws_ecs » CfnService » DeploymentControllerProperty

The deployment controller to use for the service.

For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide .

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const deploymentControllerProperty: ecs.CfnService.DeploymentControllerProperty = {
  type: 'type',
};

Properties

NameTypeDescription
type?stringThe deployment controller type to use. There are three deployment controller types available:.

type?

Type: string (optional)

The deployment controller type to use. There are three deployment controller types available:.

  • ECS - The rolling update ( ECS ) deployment type involves replacing the current running version of the container with the latest version. The number of containers Amazon ECS adds or removes from the service during a rolling update is controlled by adjusting the minimum and maximum number of healthy tasks allowed during a service deployment, as specified in the DeploymentConfiguration .
  • CODE_DEPLOY - The blue/green ( CODE_DEPLOY ) deployment type uses the blue/green deployment model powered by AWS CodeDeploy , which allows you to verify a new deployment of a service before sending production traffic to it.
  • EXTERNAL - The external ( EXTERNAL ) deployment type enables you to use any third-party deployment controller for full control over the deployment process for an Amazon ECS service.