Values_4.ModifyInstanceCpuOptionsRequestSourceBy 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.
type nonrec t = {instanceId : Values_0.InstanceId.t;The ID of the instance to update.
*)coreCount : Values_0.Integer.t option;The number of CPU cores to activate for the specified instance.
*)threadsPerCore : Values_0.Integer.t option;The number of threads to run for each CPU core.
*)nestedVirtualization : Values_0.NestedVirtualizationSpecification.t option;Indicates whether to enable or disable nested virtualization for the instance. When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.
*)dryRun : Values_0.Boolean.t option;Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
*)}val make :
?coreCount:??? ->
?threadsPerCore:??? ->
?nestedVirtualization:??? ->
?dryRun:??? ->
instanceId:Values_0.InstanceId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `Enum of string
| `Integer of Values_0.Integer.t
| `String of Values_0.InstanceId.t ])
list ]