| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.CpuOptionsRequest
Description
Documentation
data CpuOptionsRequest Source #
The CPU options for the instance. Both the core count and threads per core must be specified in the request.
See: newCpuOptionsRequest smart constructor.
Constructors
| CpuOptionsRequest' | |
Instances
newCpuOptionsRequest :: CpuOptionsRequest Source #
Create a value of CpuOptionsRequest with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:coreCount:CpuOptionsRequest', cpuOptionsRequest_coreCount - The number of CPU cores for the instance.
$sel:threadsPerCore:CpuOptionsRequest', cpuOptionsRequest_threadsPerCore - 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.
cpuOptionsRequest_coreCount :: Lens' CpuOptionsRequest (Maybe Int) Source #
The number of CPU cores for the instance.
cpuOptionsRequest_threadsPerCore :: Lens' CpuOptionsRequest (Maybe Int) Source #
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.