Class DeploymentController
The deployment controller to use for the service.
Inheritance
System.Object
DeploymentController
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class DeploymentController : Object, IDeploymentController
Syntax (vb)
Public Class DeploymentController
Inherits Object
Implements IDeploymentController
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
Constructors
DeploymentController() |
Properties
Type | The deployment controller type to use. |
Constructors
DeploymentController()
public DeploymentController()
Properties
Type
The deployment controller type to use.
public Nullable<DeploymentControllerType> Type { get; set; }
Property Value
System.Nullable<DeploymentControllerType>
Remarks
Default: DeploymentControllerType.ECS