Module Values.InstanceRequirementsSource

Specifications that define the characteristics and constraints for compute instances used by the capacity provider.

Sourcetype nonrec t = {
  1. architectures : ArchitecturesList.t option;
    (*

    A list of supported CPU architectures for compute instances. Valid values include x86_64 and arm64.

    *)
  2. allowedInstanceTypes : InstanceTypeSet.t option;
    (*

    A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.

    *)
  3. excludedInstanceTypes : InstanceTypeSet.t option;
    (*

    A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.

    *)
}
Sourceval make : ?architectures:??? -> ?allowedInstanceTypes:??? -> ?excludedInstanceTypes:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Enum of string | `String of InstanceType.t ] 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