Module Values.AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetailsSource

The mixed instances policy for the automatic scaling group.

Sourcetype nonrec t = {
  1. instancesDistribution : AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails.t option;
    (*

    The instances distribution. The instances distribution specifies the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacity.

    *)
  2. launchTemplate : AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails.t option;
    (*

    The launch template to use and the instance types (overrides) to use to provision EC2 instances to fulfill On-Demand and Spot capacities.

    *)
}
Sourceval make : ?instancesDistribution:??? -> ?launchTemplate:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `String of NonEmptyString.t ]) list ] list | `String of NonEmptyString.t | `Structure of (string * [> `String of NonEmptyString.t ]) list ]) list ]) 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