Class: Aws::EC2::Types::CpuOptionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CpuOptionsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Note:
When making an API call, you may pass CpuOptionsRequest data as a 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.
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.
3889 3890 3891 3892 3893 |
# File 'lib/aws-sdk-ec2/types.rb', line 3889 class CpuOptionsRequest < Struct.new( :core_count, :threads_per_core) include Aws::Structure end |
#threads_per_core ⇒ Integer
The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of ‘1`. Otherwise, specify the default value of `2`.
3889 3890 3891 3892 3893 |
# File 'lib/aws-sdk-ec2/types.rb', line 3889 class CpuOptionsRequest < Struct.new( :core_count, :threads_per_core) include Aws::Structure end |