pub struct AutoScalingGroupRecommendation {
pub account_id: Option<String>,
pub auto_scaling_group_arn: Option<String>,
pub auto_scaling_group_name: Option<String>,
pub current_configuration: Option<AutoScalingGroupConfiguration>,
pub finding: Option<String>,
pub last_refresh_timestamp: Option<f64>,
pub look_back_period_in_days: Option<f64>,
pub recommendation_options: Option<Vec<AutoScalingGroupRecommendationOption>>,
pub utilization_metrics: Option<Vec<UtilizationMetric>>,
}
Expand description
Describes an Auto Scaling group recommendation.
Fields§
§account_id: Option<String>
The AWS account ID of the Auto Scaling group.
auto_scaling_group_arn: Option<String>
The Amazon Resource Name (ARN) of the Auto Scaling group.
auto_scaling_group_name: Option<String>
The name of the Auto Scaling group.
current_configuration: Option<AutoScalingGroupConfiguration>
An array of objects that describe the current configuration of the Auto Scaling group.
finding: Option<String>
The finding classification for the Auto Scaling group.
Findings for Auto Scaling groups include:
-
NotOptimized
—An Auto Scaling group is considered not optimized when AWS Compute Optimizer identifies a recommendation that can provide better performance for your workload. -
Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer determines that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized resources, Compute Optimizer might recommend a new generation instance type.
The values that are returned might be NOT_OPTIMIZED
or OPTIMIZED
.
last_refresh_timestamp: Option<f64>
The time stamp of when the Auto Scaling group recommendation was last refreshed.
look_back_period_in_days: Option<f64>
The number of days for which utilization metrics were analyzed for the Auto Scaling group.
recommendation_options: Option<Vec<AutoScalingGroupRecommendationOption>>
An array of objects that describe the recommendation options for the Auto Scaling group.
utilization_metrics: Option<Vec<UtilizationMetric>>
An array of objects that describe the utilization metrics of the Auto Scaling group.
Trait Implementations§
Source§impl Clone for AutoScalingGroupRecommendation
impl Clone for AutoScalingGroupRecommendation
Source§fn clone(&self) -> AutoScalingGroupRecommendation
fn clone(&self) -> AutoScalingGroupRecommendation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for AutoScalingGroupRecommendation
impl Default for AutoScalingGroupRecommendation
Source§fn default() -> AutoScalingGroupRecommendation
fn default() -> AutoScalingGroupRecommendation
Source§impl<'de> Deserialize<'de> for AutoScalingGroupRecommendation
impl<'de> Deserialize<'de> for AutoScalingGroupRecommendation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for AutoScalingGroupRecommendation
impl PartialEq for AutoScalingGroupRecommendation
Source§fn eq(&self, other: &AutoScalingGroupRecommendation) -> bool
fn eq(&self, other: &AutoScalingGroupRecommendation) -> bool
self
and other
values to be equal, and is used by ==
.