Class CfnService.DeploymentControllerProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnService.DeploymentControllerProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnService.DeploymentControllerProperty>
- Enclosing interface:
 - CfnService.DeploymentControllerProperty
 
@Stability(Stable)
public static final class CfnService.DeploymentControllerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.DeploymentControllerProperty>
A builder for 
CfnService.DeploymentControllerProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnService.DeploymentControllerProperty.getType() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
type
Sets the value ofCfnService.DeploymentControllerProperty.getType()- Parameters:
 type- 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. 
- ECS - The rolling update ( 
 - Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnService.DeploymentControllerProperty>- Returns:
 - a new instance of 
CfnService.DeploymentControllerProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -