Struct aws_sdk_ssm::types::AlarmConfiguration
source · #[non_exhaustive]pub struct AlarmConfiguration {
pub ignore_poll_alarm_failure: bool,
pub alarms: Vec<Alarm>,
}
Expand description
The details for the CloudWatch alarm you want to apply to an automation or command.
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.ignore_poll_alarm_failure: bool
When this value is true, your automation or command continues to run in cases where we can’t retrieve alarm status information from CloudWatch. In cases where we successfully retrieve an alarm status of OK or INSUFFICIENT_DATA, the automation or command continues to run, regardless of this value. Default is false.
alarms: Vec<Alarm>
The name of the CloudWatch alarm specified in the configuration.
Implementations§
source§impl AlarmConfiguration
impl AlarmConfiguration
sourcepub fn ignore_poll_alarm_failure(&self) -> bool
pub fn ignore_poll_alarm_failure(&self) -> bool
When this value is true, your automation or command continues to run in cases where we can’t retrieve alarm status information from CloudWatch. In cases where we successfully retrieve an alarm status of OK or INSUFFICIENT_DATA, the automation or command continues to run, regardless of this value. Default is false.
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
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