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 ==
.impl StructuralPartialEq for AlarmConfiguration
Auto Trait Implementations§
impl Freeze for AlarmConfiguration
impl RefUnwindSafe for AlarmConfiguration
impl Send for AlarmConfiguration
impl Sync for AlarmConfiguration
impl Unpin for AlarmConfiguration
impl UnwindSafe for AlarmConfiguration
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more