| 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.CodeDeploy.Types.AlarmConfiguration
Description
Synopsis
- data AlarmConfiguration = AlarmConfiguration' {}
- newAlarmConfiguration :: AlarmConfiguration
- alarmConfiguration_alarms :: Lens' AlarmConfiguration (Maybe [Alarm])
- alarmConfiguration_enabled :: Lens' AlarmConfiguration (Maybe Bool)
- alarmConfiguration_ignorePollAlarmFailure :: Lens' AlarmConfiguration (Maybe Bool)
Documentation
data AlarmConfiguration Source #
Information about alarms associated with a deployment or deployment group.
See: newAlarmConfiguration smart constructor.
Constructors
| AlarmConfiguration' | |
Fields
| |
Instances
newAlarmConfiguration :: AlarmConfiguration Source #
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:alarms:AlarmConfiguration', alarmConfiguration_alarms - A list of alarms configured for the deployment or deployment group. A
maximum of 10 alarms can be added.
$sel:enabled:AlarmConfiguration', alarmConfiguration_enabled - Indicates whether the alarm configuration is enabled.
$sel:ignorePollAlarmFailure:AlarmConfiguration', alarmConfiguration_ignorePollAlarmFailure - 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.
alarmConfiguration_alarms :: Lens' AlarmConfiguration (Maybe [Alarm]) Source #
A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be added.
alarmConfiguration_enabled :: Lens' AlarmConfiguration (Maybe Bool) Source #
Indicates whether the alarm configuration is enabled.
alarmConfiguration_ignorePollAlarmFailure :: Lens' AlarmConfiguration (Maybe Bool) Source #
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.