Struct aws_sdk_ecs::model::DeploymentAlarms
source · #[non_exhaustive]pub struct DeploymentAlarms { /* private fields */ }Expand description
One of the methods which provide a way for you to quickly identify when a deployment has failed, and then to optionally roll back the failure to the last working deployment.
When the alarms are generated, Amazon ECS sets the service deployment to failed. Set the rollback parameter to have Amazon ECS to roll back your service to the last completed deployment after a failure.
You can only use the DeploymentAlarms method to detect failures when the DeploymentController is set to ECS (rolling update).
For more information, see Rolling update in the Amazon Elastic Container Service Developer Guide .
Implementations§
source§impl DeploymentAlarms
impl DeploymentAlarms
source§impl DeploymentAlarms
impl DeploymentAlarms
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeploymentAlarms.
Trait Implementations§
source§impl Clone for DeploymentAlarms
impl Clone for DeploymentAlarms
source§fn clone(&self) -> DeploymentAlarms
fn clone(&self) -> DeploymentAlarms
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 DeploymentAlarms
impl Debug for DeploymentAlarms
source§impl PartialEq<DeploymentAlarms> for DeploymentAlarms
impl PartialEq<DeploymentAlarms> for DeploymentAlarms
source§fn eq(&self, other: &DeploymentAlarms) -> bool
fn eq(&self, other: &DeploymentAlarms) -> bool
This method tests for
self and other values to be equal, and is used
by ==.