Class DeploymentControllerType
The deployment controller type to use for the service.
Inheritance
System.Object
DeploymentControllerType
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public sealed class DeploymentControllerType : Enum
Syntax (vb)
Public NotInheritable Class DeploymentControllerType
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
Cluster cluster;
var loadBalancedFargateService = new ApplicationLoadBalancedFargateService(this, "Service", new ApplicationLoadBalancedFargateServiceProps {
Cluster = cluster,
MemoryLimitMiB = 1024,
DesiredCount = 1,
Cpu = 512,
TaskImageOptions = new ApplicationLoadBalancedTaskImageOptions {
Image = ContainerImage.FromRegistry("amazon/amazon-ecs-sample")
},
DeploymentController = new DeploymentController {
Type = DeploymentControllerType.CODE_DEPLOY
}
});
Synopsis
Fields
CODE_DEPLOY | The blue/green (CODE_DEPLOY) deployment type uses the blue/green deployment model powered by AWS CodeDeploy. |
ECS | The rolling update (ECS) deployment type involves replacing the current running version of the container with the latest version. |
EXTERNAL | The external (EXTERNAL) deployment type enables you to use any third-party deployment controller. |
value__ |
Fields
CODE_DEPLOY
The blue/green (CODE_DEPLOY) deployment type uses the blue/green deployment model powered by AWS CodeDeploy.
public const DeploymentControllerType CODE_DEPLOY
Field Value
Type | Description |
---|---|
DeploymentControllerType |
ECS
The rolling update (ECS) deployment type involves replacing the current running version of the container with the latest version.
public const DeploymentControllerType ECS
Field Value
Type | Description |
---|---|
DeploymentControllerType |
EXTERNAL
The external (EXTERNAL) deployment type enables you to use any third-party deployment controller.
public const DeploymentControllerType EXTERNAL
Field Value
Type | Description |
---|---|
DeploymentControllerType |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |