Module Values.MonitoredResourceInfoSource

Describes resource being monitored by an alarm. An alarm is a way to monitor your Amazon Lightsail resource metrics. For more information, see Alarms in Amazon Lightsail.

Sourcetype nonrec t = {
  1. arn : ResourceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the resource being monitored.

    *)
  2. name : ResourceName.t option;
    (*

    The name of the Lightsail resource being monitored.

    *)
  3. resourceType : ResourceType.t option;
    (*

    The Lightsail resource type of the resource being monitored. Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.

    *)
}
Sourceval make : ?arn:??? -> ?name:??? -> ?resourceType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ResourceArn.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