Class: Aws::IoTSiteWise::Types::Alarms

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iotsitewise/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alarm_role_arnString

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

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

Returns:

  • (String)


215
216
217
218
219
220
# File 'lib/aws-sdk-iotsitewise/types.rb', line 215

class Alarms < Struct.new(
  :alarm_role_arn,
  :notification_lambda_arn)
  SENSITIVE = []
  include Aws::Structure
end

#notification_lambda_arnString

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

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

Returns:

  • (String)


215
216
217
218
219
220
# File 'lib/aws-sdk-iotsitewise/types.rb', line 215

class Alarms < Struct.new(
  :alarm_role_arn,
  :notification_lambda_arn)
  SENSITIVE = []
  include Aws::Structure
end