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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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].

[1]: lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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

Returns:

  • (String)


11782
11783
11784
11785
11786
11787
11788
# File 'lib/aws-sdk-lightsail/types.rb', line 11782

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

#nameString

The name of the Lightsail resource being monitored.

Returns:

  • (String)


11782
11783
11784
11785
11786
11787
11788
# File 'lib/aws-sdk-lightsail/types.rb', line 11782

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)


11782
11783
11784
11785
11786
11787
11788
# File 'lib/aws-sdk-lightsail/types.rb', line 11782

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