amazonka-compute-optimizer-2.0: Amazon Compute Optimizer 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.ComputeOptimizer.Types.ContainerRecommendation

Description

 
Synopsis

Documentation

data ContainerRecommendation Source #

The CPU and memory recommendations for a container within the tasks of your Amazon ECS service.

See: newContainerRecommendation smart constructor.

Constructors

ContainerRecommendation' 

Fields

Instances

Instances details
FromJSON ContainerRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ContainerRecommendation

Generic ContainerRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ContainerRecommendation

Associated Types

type Rep ContainerRecommendation :: Type -> Type #

Read ContainerRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ContainerRecommendation

Show ContainerRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ContainerRecommendation

NFData ContainerRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ContainerRecommendation

Methods

rnf :: ContainerRecommendation -> () #

Eq ContainerRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ContainerRecommendation

Hashable ContainerRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ContainerRecommendation

type Rep ContainerRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ContainerRecommendation

type Rep ContainerRecommendation = D1 ('MetaData "ContainerRecommendation" "Amazonka.ComputeOptimizer.Types.ContainerRecommendation" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "ContainerRecommendation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cpu") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "memorySizeConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemorySizeConfiguration)))))

newContainerRecommendation :: ContainerRecommendation Source #

Create a value of ContainerRecommendation 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:containerName:ContainerRecommendation', containerRecommendation_containerName - The name of the container.

$sel:cpu:ContainerRecommendation', containerRecommendation_cpu - The recommended number of CPU units reserved for the container.

$sel:memorySizeConfiguration:ContainerRecommendation', containerRecommendation_memorySizeConfiguration - The recommended memory size configurations for the container.

containerRecommendation_cpu :: Lens' ContainerRecommendation (Maybe Int) Source #

The recommended number of CPU units reserved for the container.