Class: Aws::ComputeOptimizer::Types::EffectiveRecommendationPreferences
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizer::Types::EffectiveRecommendationPreferences
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-computeoptimizer/types.rb
Overview
Describes the effective recommendation preferences for a resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cpu_vendor_architectures ⇒ Array<String>
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
-
#enhanced_infrastructure_metrics ⇒ String
Describes the activation status of the enhanced infrastructure metrics preference.
-
#external_metrics_preference ⇒ Types::ExternalMetricsPreference
An object that describes the external metrics recommendation preference.
-
#inferred_workload_types ⇒ String
Describes the activation status of the inferred workload types preference.
-
#look_back_period ⇒ String
The number of days the utilization metrics of the Amazon Web Services resource are analyzed.
-
#preferred_resources ⇒ Array<Types::EffectivePreferredResource>
The resource type values that are considered as candidates when generating rightsizing recommendations.
-
#savings_estimation_mode ⇒ Types::InstanceSavingsEstimationMode
Describes the savings estimation mode applied for calculating savings opportunity for a resource.
-
#utilization_preferences ⇒ Array<Types::UtilizationPreference>
The resource’s CPU and memory utilization preferences, such as threshold and headroom, that are used to generate rightsizing recommendations.
Instance Attribute Details
#cpu_vendor_architectures ⇒ Array<String>
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.
1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1449 class EffectiveRecommendationPreferences < Struct.new( :cpu_vendor_architectures, :enhanced_infrastructure_metrics, :inferred_workload_types, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources, :savings_estimation_mode) SENSITIVE = [] include Aws::Structure end |
#enhanced_infrastructure_metrics ⇒ String
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 of `Inactive` confirms that it’s not yet applied to recommendations.
For more information, see [Enhanced infrastructure metrics] in the *Compute Optimizer User Guide*.
[1]: docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html
1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1449 class EffectiveRecommendationPreferences < Struct.new( :cpu_vendor_architectures, :enhanced_infrastructure_metrics, :inferred_workload_types, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources, :savings_estimation_mode) SENSITIVE = [] include Aws::Structure end |
#external_metrics_preference ⇒ Types::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.
1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1449 class EffectiveRecommendationPreferences < Struct.new( :cpu_vendor_architectures, :enhanced_infrastructure_metrics, :inferred_workload_types, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources, :savings_estimation_mode) SENSITIVE = [] include Aws::Structure end |
#inferred_workload_types ⇒ String
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 of `Inactive` confirms that it’s not yet applied to recommendations.
1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1449 class EffectiveRecommendationPreferences < Struct.new( :cpu_vendor_architectures, :enhanced_infrastructure_metrics, :inferred_workload_types, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources, :savings_estimation_mode) SENSITIVE = [] include Aws::Structure end |
#look_back_period ⇒ String
The number of days the utilization metrics of the Amazon Web Services resource are analyzed.
1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1449 class EffectiveRecommendationPreferences < Struct.new( :cpu_vendor_architectures, :enhanced_infrastructure_metrics, :inferred_workload_types, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources, :savings_estimation_mode) SENSITIVE = [] include Aws::Structure end |
#preferred_resources ⇒ Array<Types::EffectivePreferredResource>
The resource type values that are considered as candidates when generating rightsizing recommendations.
1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1449 class EffectiveRecommendationPreferences < Struct.new( :cpu_vendor_architectures, :enhanced_infrastructure_metrics, :inferred_workload_types, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources, :savings_estimation_mode) SENSITIVE = [] include Aws::Structure end |
#savings_estimation_mode ⇒ Types::InstanceSavingsEstimationMode
Describes the savings estimation mode applied for calculating savings opportunity for a resource.
1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1449 class EffectiveRecommendationPreferences < Struct.new( :cpu_vendor_architectures, :enhanced_infrastructure_metrics, :inferred_workload_types, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources, :savings_estimation_mode) SENSITIVE = [] include Aws::Structure end |
#utilization_preferences ⇒ Array<Types::UtilizationPreference>
The resource’s CPU and memory utilization preferences, such as threshold and headroom, that are used to generate rightsizing recommendations.
<note markdown=“1”> This preference is only available for the Amazon EC2 instance resource type.
</note>
1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1449 class EffectiveRecommendationPreferences < Struct.new( :cpu_vendor_architectures, :enhanced_infrastructure_metrics, :inferred_workload_types, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources, :savings_estimation_mode) SENSITIVE = [] include Aws::Structure end |