EffectiveRecommendationPreferences
Describes the effective recommendation preferences for a resource.
Contents
- cpuVendorArchitectures
-
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify
AWS_ARM64
with:-
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton instance types only.
-
A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton instance type recommendations only.
-
A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton instance types only.
Type: Array of strings
Valid Values:
AWS_ARM64 | CURRENT
Required: No
-
- enhancedInfrastructureMetrics
-
Describes the activation status of the enhanced infrastructure metrics preference.
A status of
Active
confirms that the preference is applied in the latest recommendation refresh, and a status ofInactive
confirms that it's not yet applied to recommendations.For more information, see Enhanced infrastructure metrics in the AWS Compute Optimizer User Guide.
Type: String
Valid Values:
Active | Inactive
Required: No
- externalMetricsPreference
-
An object that describes the external metrics recommendation preference.
If the preference is applied in the latest recommendation refresh, an object with a valid
source
value appears in the response. If the preference isn't applied to the recommendations already, then this object doesn't appear in the response.Type: ExternalMetricsPreference object
Required: No
- inferredWorkloadTypes
-
Describes the activation status of the inferred workload types preference.
A status of
Active
confirms that the preference is applied in the latest recommendation refresh. A status ofInactive
confirms that it's not yet applied to recommendations.Type: String
Valid Values:
Active | Inactive
Required: No
- lookBackPeriod
-
The number of days the utilization metrics of the AWS resource are analyzed.
Type: String
Valid Values:
DAYS_14 | DAYS_32 | DAYS_93
Required: No
- preferredResources
-
The resource type values that are considered as candidates when generating rightsizing recommendations.
Type: Array of EffectivePreferredResource objects
Required: No
- savingsEstimationMode
-
Describes the savings estimation mode applied for calculating savings opportunity for a resource.
Type: InstanceSavingsEstimationMode object
Required: No
- utilizationPreferences
-
The resource’s CPU and memory utilization preferences, such as threshold and headroom, that are used to generate rightsizing recommendations.
Note
This preference is only available for the Amazon EC2 instance resource type.
Type: Array of UtilizationPreference objects
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: