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 |
Synopsis
- data LaunchTemplateCpuOptionsRequest = LaunchTemplateCpuOptionsRequest' {}
- newLaunchTemplateCpuOptionsRequest :: LaunchTemplateCpuOptionsRequest
- launchTemplateCpuOptionsRequest_coreCount :: Lens' LaunchTemplateCpuOptionsRequest (Maybe Int)
- launchTemplateCpuOptionsRequest_threadsPerCore :: Lens' LaunchTemplateCpuOptionsRequest (Maybe Int)
Documentation
data LaunchTemplateCpuOptionsRequest Source #
The CPU options for the instance. Both the core count and threads per core must be specified in the request.
See: newLaunchTemplateCpuOptionsRequest
smart constructor.
Instances
newLaunchTemplateCpuOptionsRequest :: LaunchTemplateCpuOptionsRequest Source #
Create a value of LaunchTemplateCpuOptionsRequest
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:LaunchTemplateCpuOptionsRequest'
, launchTemplateCpuOptionsRequest_coreCount
- The number of CPU cores for the instance.
$sel:threadsPerCore:LaunchTemplateCpuOptionsRequest'
, launchTemplateCpuOptionsRequest_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
.
launchTemplateCpuOptionsRequest_coreCount :: Lens' LaunchTemplateCpuOptionsRequest (Maybe Int) Source #
The number of CPU cores for the instance.
launchTemplateCpuOptionsRequest_threadsPerCore :: Lens' LaunchTemplateCpuOptionsRequest (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
.