Module Values_4.ModifyInstanceCpuOptionsResultSource

By default, all vCPUs for the instance type are active when you launch an instance. When you configure the number of active vCPUs for the instance, it can help you save on licensing costs and optimize performance. The base cost of the instance remains unchanged. The number of active vCPUs equals the number of threads per CPU core multiplied by the number of cores. The instance must be in a Stopped state before you make changes. Some instance type options do not support this capability. For more information, see Supported CPU options in the Amazon EC2 User Guide.

Sourcetype nonrec t = {
  1. instanceId : Values_0.InstanceId.t option;
    (*

    The ID of the instance that was updated.

    *)
  2. coreCount : Values_0.Integer.t option;
    (*

    The number of CPU cores that are running for the specified instance after the update.

    *)
  3. threadsPerCore : Values_0.Integer.t option;
    (*

    The number of threads that are running per CPU core for the specified instance after the update.

    *)
  4. nestedVirtualization : Values_0.NestedVirtualizationSpecification.t option;
    (*

    Indicates whether nested virtualization has been enabled or disabled.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?instanceId:??? -> ?coreCount:??? -> ?threadsPerCore:??? -> ?nestedVirtualization:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Values_0.Integer.t | `String of Values_0.InstanceId.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