Struct aws_sdk_computeoptimizer::model::AutoScalingGroupRecommendationOption [−][src]
#[non_exhaustive]pub struct AutoScalingGroupRecommendationOption {
pub configuration: Option<AutoScalingGroupConfiguration>,
pub projected_utilization_metrics: Option<Vec<UtilizationMetric>>,
pub performance_risk: f64,
pub rank: i32,
}
Expand description
Describes a recommendation option for an Auto Scaling group.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.configuration: Option<AutoScalingGroupConfiguration>
An array of objects that describe an Auto Scaling group configuration.
projected_utilization_metrics: Option<Vec<UtilizationMetric>>
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
The Cpu
and Memory
metrics are the only projected
utilization metrics returned. Additionally, the Memory
metric is
returned only for resources that have the unified CloudWatch agent installed
on them. For more information, see Enabling Memory
Utilization with the CloudWatch Agent.
performance_risk: f64
The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning
that the recommended resource is predicted to always provide enough hardware capability.
The higher the performance risk is, the more likely you should validate whether the
recommendation will meet the performance requirements of your workload before migrating
your resource.
rank: i32
The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
Implementations
An array of objects that describe an Auto Scaling group configuration.
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
The Cpu
and Memory
metrics are the only projected
utilization metrics returned. Additionally, the Memory
metric is
returned only for resources that have the unified CloudWatch agent installed
on them. For more information, see Enabling Memory
Utilization with the CloudWatch Agent.
The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning
that the recommended resource is predicted to always provide enough hardware capability.
The higher the performance risk is, the more likely you should validate whether the
recommendation will meet the performance requirements of your workload before migrating
your resource.
Creates a new builder-style object to manufacture AutoScalingGroupRecommendationOption
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for AutoScalingGroupRecommendationOption
impl Sync for AutoScalingGroupRecommendationOption
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more