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
source§fn eq(&self, other: &AlarmConfiguration) -> bool
fn eq(&self, other: &AlarmConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.