| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ECS.Types.DeploymentCircuitBreaker
Description
Documentation
data DeploymentCircuitBreaker Source #
The deployment circuit breaker can only be used for services using the
rolling update (ECS) deployment type that aren't behind a Classic
Load Balancer.
The deployment circuit breaker determines whether a service deployment will fail if the service can't reach a steady state. If enabled, a service deployment will transition to a failed state and stop launching new tasks. You can also configure Amazon ECS to roll back your service to the last completed deployment after a failure. For more information, see Rolling update in the Amazon Elastic Container Service Developer Guide.
See: newDeploymentCircuitBreaker smart constructor.
Constructors
| DeploymentCircuitBreaker' | |
Fields
| |
Instances
newDeploymentCircuitBreaker Source #
Arguments
| :: Bool | |
| -> Bool | |
| -> DeploymentCircuitBreaker |
Create a value of DeploymentCircuitBreaker with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enable:DeploymentCircuitBreaker', deploymentCircuitBreaker_enable - Determines whether to use the deployment circuit breaker logic for the
service.
$sel:rollback:DeploymentCircuitBreaker', deploymentCircuitBreaker_rollback - Determines whether to configure Amazon ECS to roll back the service if a
service deployment fails. If rollback is on, when a service deployment
fails, the service is rolled back to the last deployment that completed
successfully.
deploymentCircuitBreaker_enable :: Lens' DeploymentCircuitBreaker Bool Source #
Determines whether to use the deployment circuit breaker logic for the service.
deploymentCircuitBreaker_rollback :: Lens' DeploymentCircuitBreaker Bool Source #
Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is on, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.