You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lightsail::Types::MonitoredResourceInfo
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::MonitoredResourceInfo
- Defined in:
- (unknown)
Overview
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.
Returned by:
Instance Attribute Summary collapse
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the resource being monitored.
-
#name ⇒ String
The name of the Lightsail resource being monitored.
-
#resource_type ⇒ String
The Lightsail resource type of the resource being monitored.
Instance Attribute Details
#arn ⇒ String
The Amazon Resource Name (ARN) of the resource being monitored.
#name ⇒ String
The name of the Lightsail resource being monitored.
#resource_type ⇒ String
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.
Possible values:
- ContainerService
- Instance
- StaticIp
- KeyPair
- InstanceSnapshot
- Domain
- PeeredVpc
- LoadBalancer
- LoadBalancerTlsCertificate
- Disk
- DiskSnapshot
- RelationalDatabase
- RelationalDatabaseSnapshot
- ExportSnapshotRecord
- CloudFormationStackRecord
- Alarm
- ContactMethod
- Distribution
- Certificate