You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::LaunchTemplateCpuOptionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing LaunchTemplateCpuOptionsRequest 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

Instance Attribute Details

#core_countInteger

The number of CPU cores for the instance.

Returns:

  • (Integer)

    The number of CPU cores for the instance.

#threads_per_coreInteger

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.

Returns:

  • (Integer)

    The number of threads per CPU core.