Lightsail.Alarm
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-alarm.html
type properties = {
metric_name : string;
comparison_operator : string;
treat_missing_data : string option;
alarm_name : string;
contact_protocols : string list option;
monitored_resource_name : string;
evaluation_periods : int;
notification_enabled : bool option;
datapoints_to_alarm : int option;
notification_triggers : string list option;
threshold : float;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-alarm.html;
val make_properties :
metric_name:string ->
comparison_operator:string ->
?treat_missing_data:string ->
alarm_name:string ->
?contact_protocols:string list ->
monitored_resource_name:string ->
evaluation_periods:int ->
?notification_enabled:bool ->
?datapoints_to_alarm:int ->
?notification_triggers:string list ->
threshold:float ->
unit ->
properties
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes