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)


9768
9769
9770
9771
9772
9773
9774
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9768

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

#nameString

The name of the Lightsail resource being monitored.

Returns:

  • (String)


9768
9769
9770
9771
9772
9773
9774
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9768

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)


9768
9769
9770
9771
9772
9773
9774
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9768

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