Interface DeploymentCircuitBreaker
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DeploymentCircuitBreaker.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.282Z")
@Stability(Stable)
public interface DeploymentCircuitBreaker
extends software.amazon.jsii.JsiiSerializable
The deployment circuit breaker to use for the service.
Example:
Cluster cluster;
TaskDefinition taskDefinition;
FargateService service = FargateService.Builder.create(this, "Service")
.cluster(cluster)
.taskDefinition(taskDefinition)
.circuitBreaker(DeploymentCircuitBreaker.builder().rollback(true).build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDeploymentCircuitBreakerstatic final classAn implementation forDeploymentCircuitBreaker -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRollback
Whether to enable rollback on deployment failure.Default: false
-
builder
- Returns:
- a
DeploymentCircuitBreaker.BuilderofDeploymentCircuitBreaker
-