AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CloudwatchAlarmAction as input to an Aws::Client method, you can use a vanilla Hash:

{
  role_arn: "AwsArn", # required
  alarm_name: "AlarmName", # required
  state_reason: "StateReason", # required
  state_value: "StateValue", # required
}

Describes an action that updates a CloudWatch alarm.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#alarm_nameString

The CloudWatch alarm name.

Returns:

  • (String)

    The CloudWatch alarm name.

#role_arnString

The IAM role that allows access to the CloudWatch alarm.

Returns:

  • (String)

    The IAM role that allows access to the CloudWatch alarm.

#state_reasonString

The reason for the alarm change.

Returns:

  • (String)

    The reason for the alarm change.

#state_valueString

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

Returns:

  • (String)

    The value of the alarm state.