Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Represents a CloudWatch alarm associated with a scaling policy.
See: newAlarm
smart constructor.
Instances
Eq Alarm Source # | |
Read Alarm Source # | |
Show Alarm Source # | |
Generic Alarm Source # | |
NFData Alarm Source # | |
Defined in Amazonka.ApplicationAutoScaling.Types.Alarm | |
Hashable Alarm Source # | |
Defined in Amazonka.ApplicationAutoScaling.Types.Alarm | |
FromJSON Alarm Source # | |
type Rep Alarm Source # | |
Defined in Amazonka.ApplicationAutoScaling.Types.Alarm type Rep Alarm = D1 ('MetaData "Alarm" "Amazonka.ApplicationAutoScaling.Types.Alarm" "libZSservicesZSamazonka-application-autoscalingZSamazonka-application-autoscaling" 'False) (C1 ('MetaCons "Alarm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alarmName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "alarmARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Alarm
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:alarmName:Alarm'
, alarm_alarmName
- The name of the alarm.
$sel:alarmARN:Alarm'
, alarm_alarmARN
- The Amazon Resource Name (ARN) of the alarm.