amazonka-appconfig-2.0: Amazon AppConfig SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppConfig.Types.Monitor

Description

 
Synopsis

Documentation

data Monitor Source #

Amazon CloudWatch alarms to monitor during the deployment process.

See: newMonitor smart constructor.

Constructors

Monitor' 

Fields

  • alarmRoleArn :: Maybe Text

    ARN of an Identity and Access Management (IAM) role for AppConfig to monitor AlarmArn.

  • alarmArn :: Text

    Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.

Instances

Instances details
FromJSON Monitor Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Monitor

ToJSON Monitor Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Monitor

Generic Monitor Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Monitor

Associated Types

type Rep Monitor :: Type -> Type #

Methods

from :: Monitor -> Rep Monitor x #

to :: Rep Monitor x -> Monitor #

Read Monitor Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Monitor

Show Monitor Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Monitor

NFData Monitor Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Monitor

Methods

rnf :: Monitor -> () #

Eq Monitor Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Monitor

Methods

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

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

Hashable Monitor Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Monitor

Methods

hashWithSalt :: Int -> Monitor -> Int #

hash :: Monitor -> Int #

type Rep Monitor Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Monitor

type Rep Monitor = D1 ('MetaData "Monitor" "Amazonka.AppConfig.Types.Monitor" "amazonka-appconfig-2.0-KxEFpSAUlWtLf1lFyPWujo" 'False) (C1 ('MetaCons "Monitor'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alarmRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarmArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newMonitor Source #

Create a value of Monitor 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:alarmRoleArn:Monitor', monitor_alarmRoleArn - ARN of an Identity and Access Management (IAM) role for AppConfig to monitor AlarmArn.

$sel:alarmArn:Monitor', monitor_alarmArn - Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.

monitor_alarmRoleArn :: Lens' Monitor (Maybe Text) Source #

ARN of an Identity and Access Management (IAM) role for AppConfig to monitor AlarmArn.

monitor_alarmArn :: Lens' Monitor Text Source #

Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.