@Stability(value=Stable)
public static interface CfnService.DeploymentControllerProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ecs.*;
DeploymentControllerProperty deploymentControllerProperty = DeploymentControllerProperty.builder()
.type("type")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnService.DeploymentControllerProperty.Builder
A builder for
CfnService.DeploymentControllerProperty |
static class |
CfnService.DeploymentControllerProperty.Jsii$Proxy
An implementation for
CfnService.DeploymentControllerProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnService.DeploymentControllerProperty.Builder |
builder() |
default String |
getType()
The deployment controller type to use.
|
@Stability(value=Stable) @Nullable default String getType()
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 ) 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 ) deployment type enables you to use any third-party deployment controller for full control over the deployment process for an Amazon ECS service.@Stability(value=Stable) static CfnService.DeploymentControllerProperty.Builder builder()
Copyright © 2022. All rights reserved.