@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.690Z") @Stability(value=Stable) public interface DeploymentCircuitBreaker extends software.amazon.jsii.JsiiSerializable
Example:
Cluster cluster;
TaskDefinition taskDefinition;
FargateService service = FargateService.Builder.create(this, "Service")
.cluster(cluster)
.taskDefinition(taskDefinition)
.circuitBreaker(DeploymentCircuitBreaker.builder().rollback(true).build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DeploymentCircuitBreaker.Builder
A builder for
DeploymentCircuitBreaker |
static class |
DeploymentCircuitBreaker.Jsii$Proxy
An implementation for
DeploymentCircuitBreaker |
| Modifier and Type | Method and Description |
|---|---|
static DeploymentCircuitBreaker.Builder |
builder() |
default Boolean |
getRollback()
Whether to enable rollback on deployment failure.
|
@Stability(value=Stable) @Nullable default Boolean getRollback()
Default: false
@Stability(value=Stable) static DeploymentCircuitBreaker.Builder builder()
DeploymentCircuitBreaker.Builder of DeploymentCircuitBreakerCopyright © 2022. All rights reserved.