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

Description

 
Synopsis

Documentation

data AcceleratorCount Source #

The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) on an instance.

See: newAcceleratorCount smart constructor.

Constructors

AcceleratorCount' 

Fields

  • max :: Maybe Int

    The maximum number of accelerators. If this parameter is not specified, there is no maximum limit.

  • min :: Maybe Int

    The minimum number of accelerators. If this parameter is not specified, there is no minimum limit.

Instances

Instances details
ToQuery AcceleratorCount Source # 
Instance details

Defined in Amazonka.EC2.Types.AcceleratorCount

FromXML AcceleratorCount Source # 
Instance details

Defined in Amazonka.EC2.Types.AcceleratorCount

Generic AcceleratorCount Source # 
Instance details

Defined in Amazonka.EC2.Types.AcceleratorCount

Associated Types

type Rep AcceleratorCount :: Type -> Type #

Read AcceleratorCount Source # 
Instance details

Defined in Amazonka.EC2.Types.AcceleratorCount

Show AcceleratorCount Source # 
Instance details

Defined in Amazonka.EC2.Types.AcceleratorCount

NFData AcceleratorCount Source # 
Instance details

Defined in Amazonka.EC2.Types.AcceleratorCount

Methods

rnf :: AcceleratorCount -> () #

Eq AcceleratorCount Source # 
Instance details

Defined in Amazonka.EC2.Types.AcceleratorCount

Hashable AcceleratorCount Source # 
Instance details

Defined in Amazonka.EC2.Types.AcceleratorCount

type Rep AcceleratorCount Source # 
Instance details

Defined in Amazonka.EC2.Types.AcceleratorCount

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

newAcceleratorCount :: AcceleratorCount Source #

Create a value of AcceleratorCount 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:max:AcceleratorCount', acceleratorCount_max - The maximum number of accelerators. If this parameter is not specified, there is no maximum limit.

$sel:min:AcceleratorCount', acceleratorCount_min - The minimum number of accelerators. If this parameter is not specified, there is no minimum limit.

acceleratorCount_max :: Lens' AcceleratorCount (Maybe Int) Source #

The maximum number of accelerators. If this parameter is not specified, there is no maximum limit.

acceleratorCount_min :: Lens' AcceleratorCount (Maybe Int) Source #

The minimum number of accelerators. If this parameter is not specified, there is no minimum limit.