amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.LaunchTemplateCpuOptionsRequest

Description

 
Synopsis

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.

Constructors

LaunchTemplateCpuOptionsRequest' 

Fields

  • coreCount :: Maybe Int

    The number of CPU cores for the instance.

  • threadsPerCore :: Maybe Int

    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.

Instances

Instances details
ToQuery LaunchTemplateCpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateCpuOptionsRequest

Generic LaunchTemplateCpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateCpuOptionsRequest

Associated Types

type Rep LaunchTemplateCpuOptionsRequest :: Type -> Type #

Read LaunchTemplateCpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateCpuOptionsRequest

Show LaunchTemplateCpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateCpuOptionsRequest

NFData LaunchTemplateCpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateCpuOptionsRequest

Eq LaunchTemplateCpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateCpuOptionsRequest

Hashable LaunchTemplateCpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateCpuOptionsRequest

type Rep LaunchTemplateCpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateCpuOptionsRequest

type Rep LaunchTemplateCpuOptionsRequest = D1 ('MetaData "LaunchTemplateCpuOptionsRequest" "Amazonka.EC2.Types.LaunchTemplateCpuOptionsRequest" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "LaunchTemplateCpuOptionsRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "coreCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "threadsPerCore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

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_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.