Module Values_2.SpotPriceSource

The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

Sourcetype nonrec t = {
  1. availabilityZone : Values_0.String_.t option;
    (*

    The Availability Zone.

    *)
  2. availabilityZoneId : Values_0.String_.t option;
    (*

    The ID of the Availability Zone.

    *)
  3. instanceType : Values_0.InstanceType.t option;
    (*

    The instance type.

    *)
  4. productDescription : Values_1.RIProductDescription.t option;
    (*

    A general description of the AMI.

    *)
  5. spotPrice : Values_0.String_.t option;
    (*

    The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

    *)
  6. timestamp : Values_0.DateTime.t option;
    (*

    The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

    *)
}
Sourceval make : ?availabilityZone:??? -> ?availabilityZoneId:??? -> ?instanceType:??? -> ?productDescription:??? -> ?spotPrice:??? -> ?timestamp:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Values_0.String_.t | `Timestamp of Values_0.DateTime.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