Amazon Compute Optimizer · JSON Structure

Compute Optimizer Recommendation Preferences Structure

Describes the recommendation preferences to return in the response of a GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations, and GetEC2RecommendationProjectedMetrics request.

Type: object Properties: 1
Cost OptimizationFinOpsMachine LearningResource Recommendations

RecommendationPreferences is a JSON Structure definition published by Amazon Compute Optimizer, describing 1 property. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

cpuVendorArchitectures

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-compute-optimizer/refs/heads/main/json-structure/compute-optimizer-recommendation-preferences-structure.json",
  "name": "RecommendationPreferences",
  "description": "Describes the recommendation preferences to return in the response of a <a>GetAutoScalingGroupRecommendations</a>, <a>GetEC2InstanceRecommendations</a>, and <a>GetEC2RecommendationProjectedMetrics</a> request.",
  "type": "object",
  "properties": {
    "cpuVendorArchitectures": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CpuVendorArchitectures"
        },
        {
          "description": "<p>Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.</p> <p>For example, when you specify <code>AWS_ARM64</code> with:</p> <ul> <li> <p>A <a>GetEC2InstanceRecommendations</a> or <a>GetAutoScalingGroupRecommendations</a> request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.</p> </li> <li> <p>A <a>GetEC2RecommendationProjectedMetrics</a> request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.</p> </li> <li> <p>A <a>ExportEC2InstanceRecommendations</a> or <a>ExportAutoScalingGroupRecommendations</a> request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.</p> </li> </ul>"
        }
      ]
    }
  }
}