Class: Aws::ComputeOptimizer::Types::EffectiveRecommendationPreferences

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#cpu_vendor_architecturesArray<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.

Returns:

  • (Array<String>)


1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1475

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_metricsString

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

Returns:

  • (String)


1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1475

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_preferenceTypes::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.



1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1475

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_typesString

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.

Returns:

  • (String)


1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1475

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_periodString

The number of days the utilization metrics of the Amazon Web Services resource are analyzed.

Returns:

  • (String)


1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1475

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_resourcesArray<Types::EffectivePreferredResource>

The resource type values that are considered as candidates when generating rightsizing recommendations.



1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1475

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_modeTypes::InstanceSavingsEstimationMode

Describes the savings estimation mode applied for calculating savings opportunity for a resource.



1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1475

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_preferencesArray<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>

Returns:



1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 1475

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