Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.SSM.Types.AlarmConfiguration
Description
Documentation
data AlarmConfiguration Source #
The details for the CloudWatch alarm you want to apply to an automation or command.
See: newAlarmConfiguration
smart constructor.
Constructors
AlarmConfiguration' | |
Fields
|
Instances
newAlarmConfiguration Source #
Arguments
:: NonEmpty Alarm | |
-> AlarmConfiguration |
Create a value of AlarmConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ignorePollAlarmFailure:AlarmConfiguration'
, alarmConfiguration_ignorePollAlarmFailure
- If you specify true
for this value, your automation or command
continue to run even if we can't gather information about the state of
your CloudWatch alarm. The default value is false
.
$sel:alarms:AlarmConfiguration'
, alarmConfiguration_alarms
- The name of the CloudWatch alarm specified in the configuration.
alarmConfiguration_ignorePollAlarmFailure :: Lens' AlarmConfiguration (Maybe Bool) Source #
If you specify true
for this value, your automation or command
continue to run even if we can't gather information about the state of
your CloudWatch alarm. The default value is false
.
alarmConfiguration_alarms :: Lens' AlarmConfiguration (NonEmpty Alarm) Source #
The name of the CloudWatch alarm specified in the configuration.