Interface IDeploymentCircuitBreaker
The deployment circuit breaker to use for the service.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IDeploymentCircuitBreaker
Syntax (vb)
Public Interface IDeploymentCircuitBreaker
Remarks
ExampleMetadata: infused
Examples
Cluster cluster;
TaskDefinition taskDefinition;
var service = new FargateService(this, "Service", new FargateServiceProps {
Cluster = cluster,
TaskDefinition = taskDefinition,
CircuitBreaker = new DeploymentCircuitBreaker { Rollback = true }
});
Synopsis
Properties
Rollback | Whether to enable rollback on deployment failure. |
Properties
Rollback
Whether to enable rollback on deployment failure.
virtual Nullable<bool> Rollback { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false