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 |
Synopsis
- data Monitor = Monitor' {
- alarmRoleArn :: Maybe Text
- alarmArn :: Text
- newMonitor :: Text -> Monitor
- monitor_alarmRoleArn :: Lens' Monitor (Maybe Text)
- monitor_alarmArn :: Lens' Monitor Text
Documentation
Amazon CloudWatch alarms to monitor during the deployment process.
See: newMonitor
smart constructor.
Monitor' | |
|
Instances
FromJSON Monitor Source # | |
ToJSON Monitor Source # | |
Defined in Amazonka.AppConfig.Types.Monitor | |
Generic Monitor Source # | |
Read Monitor Source # | |
Show Monitor Source # | |
NFData Monitor Source # | |
Defined in Amazonka.AppConfig.Types.Monitor | |
Eq Monitor Source # | |
Hashable Monitor Source # | |
Defined in Amazonka.AppConfig.Types.Monitor | |
type Rep Monitor Source # | |
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))) |
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.