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 |
Synopsis
- data MonitoredResourceInfo = MonitoredResourceInfo' {
- resourceType :: Maybe ResourceType
- arn :: Maybe Text
- name :: Maybe Text
- newMonitoredResourceInfo :: MonitoredResourceInfo
- monitoredResourceInfo_resourceType :: Lens' MonitoredResourceInfo (Maybe ResourceType)
- monitoredResourceInfo_arn :: Lens' MonitoredResourceInfo (Maybe Text)
- monitoredResourceInfo_name :: Lens' MonitoredResourceInfo (Maybe Text)
Documentation
data MonitoredResourceInfo Source #
Describes resource being monitored by an alarm.
An alarm is a way to monitor your Amazon Lightsail resource metrics. For more information, see Alarms in Amazon Lightsail.
See: newMonitoredResourceInfo
smart constructor.
MonitoredResourceInfo' | |
|
Instances
newMonitoredResourceInfo :: MonitoredResourceInfo Source #
Create a value of MonitoredResourceInfo
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:resourceType:MonitoredResourceInfo'
, monitoredResourceInfo_resourceType
- The Lightsail resource type of the resource being monitored.
Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.
$sel:arn:MonitoredResourceInfo'
, monitoredResourceInfo_arn
- The Amazon Resource Name (ARN) of the resource being monitored.
$sel:name:MonitoredResourceInfo'
, monitoredResourceInfo_name
- The name of the Lightsail resource being monitored.
monitoredResourceInfo_resourceType :: Lens' MonitoredResourceInfo (Maybe ResourceType) Source #
The Lightsail resource type of the resource being monitored.
Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.
monitoredResourceInfo_arn :: Lens' MonitoredResourceInfo (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resource being monitored.
monitoredResourceInfo_name :: Lens' MonitoredResourceInfo (Maybe Text) Source #
The name of the Lightsail resource being monitored.