Module Values.EC2InstanceCountsSource

Resource capacity settings. Fleet capacity is measured in Amazon EC2 instances. Pending and terminating counts are non-zero when the fleet capacity is adjusting to a scaling event or if access to resources is temporarily affected.

Sourcetype nonrec t = {
  1. dESIRED : WholeNumber.t option;
    (*

    Requested number of active instances. Amazon GameLift Servers takes action as needed to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances. A change in the desired instances value can take up to 1 minute to be reflected when viewing a fleet's capacity settings.

    *)
  2. mINIMUM : WholeNumber.t option;
    (*

    The minimum instance count value allowed.

    *)
  3. mAXIMUM : WholeNumber.t option;
    (*

    The maximum instance count value allowed.

    *)
  4. pENDING : WholeNumber.t option;
    (*

    Number of instances that are starting but not yet active.

    *)
  5. aCTIVE : WholeNumber.t option;
    (*

    Actual number of instances that are ready to host game sessions.

    *)
  6. iDLE : WholeNumber.t option;
    (*

    Number of active instances that are not currently hosting a game session.

    *)
  7. tERMINATING : WholeNumber.t option;
    (*

    Number of instances that are no longer active but haven't yet been terminated.

    *)
}
Sourceval make : ?dESIRED:??? -> ?mINIMUM:??? -> ?mAXIMUM:??? -> ?pENDING:??? -> ?aCTIVE:??? -> ?iDLE:??? -> ?tERMINATING:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of WholeNumber.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