Class: Aws::Lightsail::Types::MonitoredResourceInfo

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the resource being monitored.

Returns:

  • (String)


11038
11039
11040
11041
11042
11043
11044
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11038

class MonitoredResourceInfo < Struct.new(
  :arn,
  :name,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the Lightsail resource being monitored.

Returns:

  • (String)


11038
11039
11040
11041
11042
11043
11044
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11038

class MonitoredResourceInfo < Struct.new(
  :arn,
  :name,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

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.

Returns:

  • (String)


11038
11039
11040
11041
11042
11043
11044
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11038

class MonitoredResourceInfo < Struct.new(
  :arn,
  :name,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end