Module LookoutMetrics.Alert

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html

type lambda_configuration = {
  1. lambda_arn : string;
  2. role_arn : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-alert-lambdaconfiguration.html

and sns_configuration = {
  1. sns_topic_arn : string;
  2. role_arn : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-alert-snsconfiguration.html

and action = {
  1. lambda_configuration : lambda_configuration option;
  2. sns_configuration : sns_configuration option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-alert-action.html

type properties = {
  1. alert_description : string option;
  2. action : action;
  3. alert_name : string option;
  4. alert_sensitivity_threshold : int;
  5. anomaly_detector_arn : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html;

val make_properties : ?alert_description:string -> action:action -> ?alert_name:string -> alert_sensitivity_threshold:int -> anomaly_detector_arn:string -> unit -> properties
val make_lambda_configuration : lambda_arn:string -> role_arn:string -> unit -> lambda_configuration
val make_sns_configuration : sns_topic_arn:string -> role_arn:string -> unit -> sns_configuration
val make_action : ?lambda_configuration:lambda_configuration -> ?sns_configuration:sns_configuration -> unit -> action
val yojson_of_lambda_configuration : lambda_configuration -> Yojson.Safe.t
val yojson_of_sns_configuration : sns_configuration -> Yojson.Safe.t
val yojson_of_action : action -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string