Struct aws_sdk_ecs::types::DeploymentCircuitBreaker
source · #[non_exhaustive]pub struct DeploymentCircuitBreaker { /* private fields */ }Expand description
The deployment circuit breaker can only be used for services using the rolling update (ECS) deployment type.
The deployment circuit breaker determines whether a service deployment will fail if the service can't reach a steady state. If it is turned on, 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.
Implementations§
source§impl DeploymentCircuitBreaker
impl DeploymentCircuitBreaker
source§impl DeploymentCircuitBreaker
impl DeploymentCircuitBreaker
sourcepub fn builder() -> DeploymentCircuitBreakerBuilder
pub fn builder() -> DeploymentCircuitBreakerBuilder
Creates a new builder-style object to manufacture DeploymentCircuitBreaker.
Trait Implementations§
source§impl Clone for DeploymentCircuitBreaker
impl Clone for DeploymentCircuitBreaker
source§fn clone(&self) -> DeploymentCircuitBreaker
fn clone(&self) -> DeploymentCircuitBreaker
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DeploymentCircuitBreaker
impl Debug for DeploymentCircuitBreaker
source§impl PartialEq<DeploymentCircuitBreaker> for DeploymentCircuitBreaker
impl PartialEq<DeploymentCircuitBreaker> for DeploymentCircuitBreaker
source§fn eq(&self, other: &DeploymentCircuitBreaker) -> bool
fn eq(&self, other: &DeploymentCircuitBreaker) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeploymentCircuitBreaker
Auto Trait Implementations§
impl RefUnwindSafe for DeploymentCircuitBreaker
impl Send for DeploymentCircuitBreaker
impl Sync for DeploymentCircuitBreaker
impl Unpin for DeploymentCircuitBreaker
impl UnwindSafe for DeploymentCircuitBreaker
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more