class Aws::IoTSiteWise::Types::Alarms

Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see [Monitoring with alarms] in the *IoT SiteWise Application Guide*.

[1]: docs.aws.amazon.com/iot-sitewise/latest/appguide/monitor-alarms.html

@note When making an API call, you may pass Alarms

data as a hash:

    {
      alarm_role_arn: "ARN", # required
      notification_lambda_arn: "ARN",
    }

@!attribute [rw] alarm_role_arn

The [ARN][1] of the IAM role that allows the alarm to perform
actions and access Amazon Web Services resources and services, such
as IoT Events.

[1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
@return [String]

@!attribute [rw] notification_lambda_arn

The [ARN][1] of the Lambda function that manages alarm
notifications. For more information, see [Managing alarm
notifications][2] in the *IoT Events Developer Guide*.

[1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
[2]: https://docs.aws.amazon.com/iotevents/latest/developerguide/lambda-support.html
@return [String]

Constants

SENSITIVE