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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-computeoptimizer/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 Graviton2 instance types only.

  • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.

  • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.

Returns:

  • (Array<String>)


1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1419

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.

Returns:

  • (String)


1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1419

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.



1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1419

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)


1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1419

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)


1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1419

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.



1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1419

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.



1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1419

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.

This preference is only available for the Amazon EC2 instance resource type.

Returns:



1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1419

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