libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ComputeOptimizer.Types.RecommendationPreferences

Description

 
Synopsis

Documentation

data RecommendationPreferences Source #

Describes preferences for recommendations.

See: newRecommendationPreferences smart constructor.

Constructors

RecommendationPreferences' 

Fields

  • cpuVendorArchitectures :: Maybe [CpuVendorArchitecture]

    Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

    For example, when you specify AWS_ARM64 with:

    • A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.
    • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.
    • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.

Instances

Instances details
Eq RecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferences

Read RecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferences

Show RecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferences

Generic RecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferences

Associated Types

type Rep RecommendationPreferences :: Type -> Type #

NFData RecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferences

Hashable RecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferences

ToJSON RecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferences

type Rep RecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferences

type Rep RecommendationPreferences = D1 ('MetaData "RecommendationPreferences" "Amazonka.ComputeOptimizer.Types.RecommendationPreferences" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "RecommendationPreferences'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cpuVendorArchitectures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CpuVendorArchitecture]))))

newRecommendationPreferences :: RecommendationPreferences Source #

Create a value of RecommendationPreferences 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:cpuVendorArchitectures:RecommendationPreferences', recommendationPreferences_cpuVendorArchitectures - Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

For example, when you specify AWS_ARM64 with:

  • A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.
  • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.
  • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.

recommendationPreferences_cpuVendorArchitectures :: Lens' RecommendationPreferences (Maybe [CpuVendorArchitecture]) Source #

Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

For example, when you specify AWS_ARM64 with:

  • A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.
  • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.
  • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.