{ "$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-instance-recommendation-structure.json", "name": "InstanceRecommendation", "description": "Describes an Amazon EC2 instance recommendation.", "type": "object", "properties": { "instanceArn": { "allOf": [ { "$ref": "#/components/schemas/InstanceArn" }, { "description": "The Amazon Resource Name (ARN) of the current instance." } ] }, "accountId": { "allOf": [ { "$ref": "#/components/schemas/AccountId" }, { "description": "The Amazon Web Services account ID of the instance." } ] }, "instanceName": { "allOf": [ { "$ref": "#/components/schemas/InstanceName" }, { "description": "The name of the current instance." } ] }, "currentInstanceType": { "allOf": [ { "$ref": "#/components/schemas/CurrentInstanceType" }, { "description": "The instance type of the current instance." } ] }, "finding": { "allOf": [ { "$ref": "#/components/schemas/Finding" }, { "description": "

The finding classification of the instance.

Findings for instances include:

" } ] }, "findingReasonCodes": { "allOf": [ { "$ref": "#/components/schemas/InstanceRecommendationFindingReasonCodes" }, { "description": "

The reason for the finding classification of the instance.

Finding reason codes for instances include:

For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.

" } ] }, "utilizationMetrics": { "allOf": [ { "$ref": "#/components/schemas/UtilizationMetrics" }, { "description": "An array of objects that describe the utilization metrics of the instance." } ] }, "lookBackPeriodInDays": { "allOf": [ { "$ref": "#/components/schemas/LookBackPeriodInDays" }, { "description": "The number of days for which utilization metrics were analyzed for the instance." } ] }, "recommendationOptions": { "allOf": [ { "$ref": "#/components/schemas/RecommendationOptions" }, { "description": "An array of objects that describe the recommendation options for the instance." } ] }, "recommendationSources": { "allOf": [ { "$ref": "#/components/schemas/RecommendationSources" }, { "description": "An array of objects that describe the source resource of the recommendation." } ] }, "lastRefreshTimestamp": { "allOf": [ { "$ref": "#/components/schemas/LastRefreshTimestamp" }, { "description": "The timestamp of when the instance recommendation was last generated." } ] }, "currentPerformanceRisk": { "allOf": [ { "$ref": "#/components/schemas/CurrentPerformanceRisk" }, { "description": "The risk of the current instance not meeting the performance needs of its workloads. The higher the risk, the more likely the current instance cannot meet the performance requirements of its workload." } ] }, "effectiveRecommendationPreferences": { "allOf": [ { "$ref": "#/components/schemas/EffectiveRecommendationPreferences" }, { "description": "An object that describes the effective recommendation preferences for the instance." } ] }, "inferredWorkloadTypes": { "allOf": [ { "$ref": "#/components/schemas/InferredWorkloadTypes" }, { "description": "

The applications that might be running on the instance as inferred by Compute Optimizer.

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

" } ] }, "instanceState": { "allOf": [ { "$ref": "#/components/schemas/InstanceState" }, { "description": " The state of the instance when the recommendation was generated. " } ] }, "tags": { "allOf": [ { "$ref": "#/components/schemas/Tags" }, { "description": " A list of tags assigned to your Amazon EC2 instance recommendations. " } ] }, "externalMetricStatus": { "allOf": [ { "$ref": "#/components/schemas/ExternalMetricStatus" }, { "description": " An object that describes Compute Optimizer's integration status with your external metrics provider. " } ] } } }