Struct aws_sdk_codedeploy::types::AlarmConfiguration
source · #[non_exhaustive]pub struct AlarmConfiguration {
pub enabled: bool,
pub ignore_poll_alarm_failure: bool,
pub alarms: Option<Vec<Alarm>>,
}
Expand description
Information about alarms associated with a deployment or deployment group.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enabled: bool
Indicates whether the alarm configuration is enabled.
ignore_poll_alarm_failure: bool
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
-
true
: The deployment proceeds even if alarm status information can't be retrieved from Amazon CloudWatch. -
false
: The deployment stops if alarm status information can't be retrieved from Amazon CloudWatch.
alarms: Option<Vec<Alarm>>
A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be added.
Implementations§
source§impl AlarmConfiguration
impl AlarmConfiguration
sourcepub fn ignore_poll_alarm_failure(&self) -> bool
pub fn ignore_poll_alarm_failure(&self) -> bool
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
-
true
: The deployment proceeds even if alarm status information can't be retrieved from Amazon CloudWatch. -
false
: The deployment stops if alarm status information can't be retrieved from Amazon CloudWatch.
source§impl AlarmConfiguration
impl AlarmConfiguration
sourcepub fn builder() -> AlarmConfigurationBuilder
pub fn builder() -> AlarmConfigurationBuilder
Creates a new builder-style object to manufacture AlarmConfiguration
.
Trait Implementations§
source§impl Clone for AlarmConfiguration
impl Clone for AlarmConfiguration
source§fn clone(&self) -> AlarmConfiguration
fn clone(&self) -> AlarmConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AlarmConfiguration
impl Debug for AlarmConfiguration
source§impl PartialEq for AlarmConfiguration
impl PartialEq for AlarmConfiguration
source§fn eq(&self, other: &AlarmConfiguration) -> bool
fn eq(&self, other: &AlarmConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.