amazonka-robomaker-2.0: Amazon RoboMaker 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.RobOMaker.Types.Compute

Description

 
Synopsis

Documentation

data Compute Source #

Compute information for the simulation job.

See: newCompute smart constructor.

Constructors

Compute' 

Fields

  • computeType :: Maybe ComputeType

    Compute type information for the simulation job.

  • gpuUnitLimit :: Maybe Natural

    Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.

  • simulationUnitLimit :: Maybe Natural

    The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.

Instances

Instances details
FromJSON Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

ToJSON Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

Generic Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

Associated Types

type Rep Compute :: Type -> Type #

Methods

from :: Compute -> Rep Compute x #

to :: Rep Compute x -> Compute #

Read Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

Show Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

NFData Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

Methods

rnf :: Compute -> () #

Eq Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

Methods

(==) :: Compute -> Compute -> Bool #

(/=) :: Compute -> Compute -> Bool #

Hashable Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

Methods

hashWithSalt :: Int -> Compute -> Int #

hash :: Compute -> Int #

type Rep Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

type Rep Compute = D1 ('MetaData "Compute" "Amazonka.RobOMaker.Types.Compute" "amazonka-robomaker-2.0-7StvfiX8F7FIYnuj4Jp3Jq" 'False) (C1 ('MetaCons "Compute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "computeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComputeType)) :*: (S1 ('MetaSel ('Just "gpuUnitLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "simulationUnitLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newCompute :: Compute Source #

Create a value of Compute 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:computeType:Compute', compute_computeType - Compute type information for the simulation job.

$sel:gpuUnitLimit:Compute', compute_gpuUnitLimit - Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.

$sel:simulationUnitLimit:Compute', compute_simulationUnitLimit - The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.

compute_computeType :: Lens' Compute (Maybe ComputeType) Source #

Compute type information for the simulation job.

compute_gpuUnitLimit :: Lens' Compute (Maybe Natural) Source #

Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.

compute_simulationUnitLimit :: Lens' Compute (Maybe Natural) Source #

The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.