#[non_exhaustive]pub struct RecommendationPreferences { /* private fields */ }
Expand description
Describes the recommendation preferences to return in the response of a GetAutoScalingGroupRecommendations
, GetEC2InstanceRecommendations
, and GetEC2RecommendationProjectedMetrics
request.
Implementations
sourceimpl RecommendationPreferences
impl RecommendationPreferences
sourcepub fn cpu_vendor_architectures(&self) -> Option<&[CpuVendorArchitecture]>
pub fn cpu_vendor_architectures(&self) -> Option<&[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
orGetAutoScalingGroupRecommendations
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
orExportAutoScalingGroupRecommendations
request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
sourceimpl RecommendationPreferences
impl RecommendationPreferences
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RecommendationPreferences
.
Trait Implementations
sourceimpl Clone for RecommendationPreferences
impl Clone for RecommendationPreferences
sourcefn clone(&self) -> RecommendationPreferences
fn clone(&self) -> RecommendationPreferences
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more