Class: Aws::IoT::Types::CloudwatchAlarmAction

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

Overview

Describes an action that updates a CloudWatch alarm.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alarm_nameString

The CloudWatch alarm name.

Returns:

  • (String)


1988
1989
1990
1991
1992
1993
1994
1995
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1988

class CloudwatchAlarmAction < Struct.new(
  :role_arn,
  :alarm_name,
  :state_reason,
  :state_value)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The IAM role that allows access to the CloudWatch alarm.

Returns:

  • (String)


1988
1989
1990
1991
1992
1993
1994
1995
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1988

class CloudwatchAlarmAction < Struct.new(
  :role_arn,
  :alarm_name,
  :state_reason,
  :state_value)
  SENSITIVE = []
  include Aws::Structure
end

#state_reasonString

The reason for the alarm change.

Returns:

  • (String)


1988
1989
1990
1991
1992
1993
1994
1995
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1988

class CloudwatchAlarmAction < Struct.new(
  :role_arn,
  :alarm_name,
  :state_reason,
  :state_value)
  SENSITIVE = []
  include Aws::Structure
end

#state_valueString

The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

Returns:

  • (String)


1988
1989
1990
1991
1992
1993
1994
1995
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1988

class CloudwatchAlarmAction < Struct.new(
  :role_arn,
  :alarm_name,
  :state_reason,
  :state_value)
  SENSITIVE = []
  include Aws::Structure
end