Module Values.AlarmsSource

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.

Sourcetype nonrec t = {
  1. alarmRoleArn : IamArn.t;
    (*

    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.

    *)
  2. notificationLambdaArn : ARN.t option;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?notificationLambdaArn:??? -> alarmRoleArn:IamArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of IamArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t