You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ApplicationAutoScaling::Types::Alarm

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

Overview

Represents a CloudWatch alarm associated with a scaling policy.

Instance Attribute Summary collapse

Instance Attribute Details

#alarm_arnString

The Amazon Resource Name (ARN) of the alarm.

Returns:

  • (String)


23
24
25
26
27
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 23

class Alarm < Struct.new(
  :alarm_name,
  :alarm_arn)
  include Aws::Structure
end

#alarm_nameString

The name of the alarm.

Returns:

  • (String)


23
24
25
26
27
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 23

class Alarm < Struct.new(
  :alarm_name,
  :alarm_arn)
  include Aws::Structure
end