Module Values.AutoScalingGroupConfigurationSource

Describes the configuration of an EC2 Auto Scaling group.

Sourcetype nonrec t = {
  1. desiredCapacity : DesiredCapacity.t option;
    (*

    The desired capacity, or number of instances, for the EC2 Auto Scaling group.

    *)
  2. minSize : MinSize.t option;
    (*

    The minimum size, or minimum number of instances, for the EC2 Auto Scaling group.

    *)
  3. maxSize : MaxSize.t option;
    (*

    The maximum size, or maximum number of instances, for the EC2 Auto Scaling group.

    *)
  4. instanceType : NullableInstanceType.t option;
    (*

    The instance type for the EC2 Auto Scaling group.

    *)
  5. allocationStrategy : AllocationStrategy.t option;
    (*

    Describes the allocation strategy that the EC2 Auto Scaling group uses. This field is only available for EC2 Auto Scaling groups with mixed instance types.

    *)
  6. estimatedInstanceHourReductionPercentage : NullableEstimatedInstanceHourReductionPercentage.t option;
    (*

    Describes the projected percentage reduction in instance hours after adopting the recommended configuration. This field is only available for EC2 Auto Scaling groups with scaling policies.

    *)
  7. type_ : AsgType.t option;
    (*

    Describes whether the EC2 Auto Scaling group has a single instance type or a mixed instance type configuration.

    *)
  8. mixedInstanceTypes : MixedInstanceTypes.t option;
    (*

    List the instance types within an EC2 Auto Scaling group that has mixed instance types.

    *)
}
Sourceval make : ?desiredCapacity:??? -> ?minSize:??? -> ?maxSize:??? -> ?instanceType:??? -> ?allocationStrategy:??? -> ?estimatedInstanceHourReductionPercentage:??? -> ?type_:??? -> ?mixedInstanceTypes:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of NullableEstimatedInstanceHourReductionPercentage.t | `Enum of string | `Integer of DesiredCapacity.t | `List of [> `String of MixedInstanceType.t ] list | `String of NullableInstanceType.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