| 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 |
Amazonka.Lightsail.Types.MonitoredResourceInfo
Description
Synopsis
- data MonitoredResourceInfo = MonitoredResourceInfo' {
- arn :: Maybe Text
- name :: Maybe Text
- resourceType :: Maybe ResourceType
- newMonitoredResourceInfo :: MonitoredResourceInfo
- monitoredResourceInfo_arn :: Lens' MonitoredResourceInfo (Maybe Text)
- monitoredResourceInfo_name :: Lens' MonitoredResourceInfo (Maybe Text)
- monitoredResourceInfo_resourceType :: Lens' MonitoredResourceInfo (Maybe ResourceType)
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.
Constructors
| MonitoredResourceInfo' | |
Fields
| |
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: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.
$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.
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.
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.