You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::CpuOptionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CpuOptionsRequest
- Defined in:
- (unknown)
Overview
Note:
When passing CpuOptionsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
core_count: 1,
threads_per_core: 1,
}
The CPU options for the instance. Both the core count and threads per core must be specified in the request.
Returned by:
Instance Attribute Summary collapse
-
#core_count ⇒ Integer
The number of CPU cores for the instance.
-
#threads_per_core ⇒ Integer
The number of threads per CPU core.
Instance Attribute Details
#core_count ⇒ Integer
The number of CPU cores for the instance.
#threads_per_core ⇒ Integer
The number of threads per CPU core. To disable multithreading for the
instance, specify a value of 1
. Otherwise, specify the default value
of 2
.