Module Values.CapacityReservationRequestSource

The Capacity Reservation configurations to be used when using the RESERVED capacity option type.

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

    The ARN of the Capacity Reservation resource group in which to run the instance.

    *)
  2. reservationPreference : CapacityReservationPreference.t option;
    (*

    The preference on when capacity reservations should be used. Valid values are: RESERVATIONS_ONLY - Exclusively launch instances into capacity reservations that match the instance requirements configured for the capacity provider. If none exist, instances will fail to provision. RESERVATIONS_FIRST - Prefer to launch instances into a capacity reservation if any exist that match the instance requirements configured for the capacity provider. If none exist, fall back to launching instances On-Demand. RESERVATIONS_EXCLUDED - Avoid using capacity reservations and launch exclusively On-Demand.

    *)
}
Sourceval make : ?reservationGroupArn:??? -> ?reservationPreference:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String_.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