Interface DeploymentCircuitBreaker
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DeploymentCircuitBreaker.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:01.064Z")
@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() .enable(true) .rollback(true) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDeploymentCircuitBreaker
static final class
An implementation forDeploymentCircuitBreaker
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnable
Whether to enable the deployment circuit breaker logic.Default: true
-
getRollback
Whether to enable rollback on deployment failure.Default: false
-
builder
- Returns:
- a
DeploymentCircuitBreaker.Builder
ofDeploymentCircuitBreaker
-