Struct aws_sdk_codedeploy::model::AlarmConfiguration [−][src]
#[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 the 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 group. A maximum of 10 alarms can be added to a deployment group.
Implementations
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.
Creates a new builder-style object to manufacture AlarmConfiguration
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AlarmConfiguration
impl Send for AlarmConfiguration
impl Sync for AlarmConfiguration
impl Unpin for AlarmConfiguration
impl UnwindSafe for AlarmConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more