Skip to content

AutoScalingGroupRecommendation

Source code in docs_src/capo_compute_optimizer/types/auto_scaling_group_recommendation.py
class AutoScalingGroupRecommendation(TypedDict, closed=True):
    account_id: NotRequired["capo_compute_optimizer.types.account_id.AccountId"]
    """<p>The Amazon Web Services account ID of the Auto Scaling group.</p>"""
    auto_scaling_group_arn: NotRequired[
        "capo_compute_optimizer.types.auto_scaling_group_arn.AutoScalingGroupArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the Auto Scaling group.</p>"""
    auto_scaling_group_name: NotRequired[
        "capo_compute_optimizer.types.auto_scaling_group_name.AutoScalingGroupName"
    ]
    """<p>The name of the Auto Scaling group.</p>"""
    finding: NotRequired["capo_compute_optimizer.types.finding.Finding"]
    """<p>The finding classification of the Auto Scaling group.</p> <p>Findings for Auto Scaling groups include:</p> <ul> <li> <p> <b> <code>NotOptimized</code> </b>—An Auto Scaling group is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.</p> </li> <li> <p> <b> <code>Optimized</code> </b>—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.</p> </li> </ul>"""
    utilization_metrics: NotRequired[
        "capo_compute_optimizer.types.utilization_metrics.UtilizationMetrics"
    ]
    """<p>An array of objects that describe the utilization metrics of the Auto Scaling group.</p>"""
    look_back_period_in_days: (
        "capo_compute_optimizer.types.look_back_period_in_days.LookBackPeriodInDays"
    )
    """<p>The number of days for which utilization metrics were analyzed for the Auto Scaling group.</p>"""
    current_configuration: NotRequired[
        "capo_compute_optimizer.types.auto_scaling_group_configuration.AutoScalingGroupConfiguration"
    ]
    """<p>An array of objects that describe the current configuration of the Auto Scaling group.</p>"""
    current_instance_gpu_info: NotRequired[
        "capo_compute_optimizer.types.gpu_info.GpuInfo"
    ]
    """<p> Describes the GPU accelerator settings for the current instance type of the Auto Scaling group. </p>"""
    recommendation_options: NotRequired[
        "capo_compute_optimizer.types.auto_scaling_group_recommendation_options.AutoScalingGroupRecommendationOptions"
    ]
    """<p>An array of objects that describe the recommendation options for the Auto Scaling group.</p>"""
    last_refresh_timestamp: NotRequired[
        "capo_compute_optimizer.types.last_refresh_timestamp.LastRefreshTimestamp"
    ]
    """<p>The timestamp of when the Auto Scaling group recommendation was last generated.</p>"""
    current_performance_risk: NotRequired[
        "capo_compute_optimizer.types.current_performance_risk.CurrentPerformanceRisk"
    ]
    """<p>The risk of the current Auto Scaling group not meeting the performance needs of its workloads. The higher the risk, the more likely the current Auto Scaling group configuration has insufficient capacity and cannot meet workload requirements.</p>"""
    effective_recommendation_preferences: NotRequired[
        "capo_compute_optimizer.types.effective_recommendation_preferences.EffectiveRecommendationPreferences"
    ]
    """<p>An object that describes the effective recommendation preferences for the Auto Scaling group.</p>"""
    inferred_workload_types: NotRequired[
        "capo_compute_optimizer.types.inferred_workload_types.InferredWorkloadTypes"
    ]
    """<p>The applications that might be running on the instances in the Auto Scaling group as inferred by Compute Optimizer.</p> <p>Compute Optimizer can infer if one of the following applications might be running on the instances:</p> <ul> <li> <p> <code>AmazonEmr</code> - Infers that Amazon EMR might be running on the instances.</p> </li> <li> <p> <code>ApacheCassandra</code> - Infers that Apache Cassandra might be running on the instances.</p> </li> <li> <p> <code>ApacheHadoop</code> - Infers that Apache Hadoop might be running on the instances.</p> </li> <li> <p> <code>Memcached</code> - Infers that Memcached might be running on the instances.</p> </li> <li> <p> <code>NGINX</code> - Infers that NGINX might be running on the instances.</p> </li> <li> <p> <code>PostgreSql</code> - Infers that PostgreSQL might be running on the instances.</p> </li> <li> <p> <code>Redis</code> - Infers that Redis might be running on the instances.</p> </li> <li> <p> <code>Kafka</code> - Infers that Kafka might be running on the instance.</p> </li> <li> <p> <code>SQLServer</code> - Infers that SQLServer might be running on the instance.</p> </li> </ul>"""

account_id instance-attribute

account_id: NotRequired[AccountId]

The Amazon Web Services account ID of the Auto Scaling group.

auto_scaling_group_arn instance-attribute

auto_scaling_group_arn: NotRequired[AutoScalingGroupArn]

The Amazon Resource Name (ARN) of the Auto Scaling group.

auto_scaling_group_name instance-attribute

auto_scaling_group_name: NotRequired[AutoScalingGroupName]

The name of the Auto Scaling group.

current_configuration instance-attribute

current_configuration: NotRequired[AutoScalingGroupConfiguration]

An array of objects that describe the current configuration of the Auto Scaling group.

current_instance_gpu_info instance-attribute

current_instance_gpu_info: NotRequired[GpuInfo]

Describes the GPU accelerator settings for the current instance type of the Auto Scaling group.

current_performance_risk instance-attribute

current_performance_risk: NotRequired[CurrentPerformanceRisk]

The risk of the current Auto Scaling group not meeting the performance needs of its workloads. The higher the risk, the more likely the current Auto Scaling group configuration has insufficient capacity and cannot meet workload requirements.

effective_recommendation_preferences instance-attribute

effective_recommendation_preferences: NotRequired[EffectiveRecommendationPreferences]

An object that describes the effective recommendation preferences for the Auto Scaling group.

finding instance-attribute

finding: NotRequired[Finding]

The finding classification of the Auto Scaling group.

Findings for Auto Scaling groups include:

  • NotOptimized —An Auto Scaling group is considered not optimized when 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.

inferred_workload_types instance-attribute

inferred_workload_types: NotRequired[InferredWorkloadTypes]

The applications that might be running on the instances in the Auto Scaling group as inferred by Compute Optimizer.

Compute Optimizer can infer if one of the following applications might be running on the instances:

  • AmazonEmr - Infers that Amazon EMR might be running on the instances.

  • ApacheCassandra - Infers that Apache Cassandra might be running on the instances.

  • ApacheHadoop - Infers that Apache Hadoop might be running on the instances.

  • Memcached - Infers that Memcached might be running on the instances.

  • NGINX - Infers that NGINX might be running on the instances.

  • PostgreSql - Infers that PostgreSQL might be running on the instances.

  • Redis - Infers that Redis might be running on the instances.

  • Kafka - Infers that Kafka might be running on the instance.

  • SQLServer - Infers that SQLServer might be running on the instance.

last_refresh_timestamp instance-attribute

last_refresh_timestamp: NotRequired[LastRefreshTimestamp]

The timestamp of when the Auto Scaling group recommendation was last generated.

look_back_period_in_days instance-attribute

look_back_period_in_days: LookBackPeriodInDays

The number of days for which utilization metrics were analyzed for the Auto Scaling group.

recommendation_options instance-attribute

recommendation_options: NotRequired[AutoScalingGroupRecommendationOptions]

An array of objects that describe the recommendation options for the Auto Scaling group.

utilization_metrics instance-attribute

utilization_metrics: NotRequired[UtilizationMetrics]

An array of objects that describe the utilization metrics of the Auto Scaling group.