libZSservicesZSamazonka-application-autoscalingZSamazonka-application-autoscaling
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ApplicationAutoScaling.Types.Alarm

Description

 
Synopsis

Documentation

data Alarm Source #

Represents a CloudWatch alarm associated with a scaling policy.

See: newAlarm smart constructor.

Constructors

Alarm' 

Fields

Instances

Instances details
Eq Alarm Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.Alarm

Methods

(==) :: Alarm -> Alarm -> Bool #

(/=) :: Alarm -> Alarm -> Bool #

Read Alarm Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.Alarm

Show Alarm Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.Alarm

Methods

showsPrec :: Int -> Alarm -> ShowS #

show :: Alarm -> String #

showList :: [Alarm] -> ShowS #

Generic Alarm Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.Alarm

Associated Types

type Rep Alarm :: Type -> Type #

Methods

from :: Alarm -> Rep Alarm x #

to :: Rep Alarm x -> Alarm #

NFData Alarm Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.Alarm

Methods

rnf :: Alarm -> () #

Hashable Alarm Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.Alarm

Methods

hashWithSalt :: Int -> Alarm -> Int #

hash :: Alarm -> Int #

FromJSON Alarm Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.Alarm

type Rep Alarm Source # 
Instance details

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)))

newAlarm Source #

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.

alarm_alarmName :: Lens' Alarm Text Source #

The name of the alarm.

alarm_alarmARN :: Lens' Alarm Text Source #

The Amazon Resource Name (ARN) of the alarm.