{ "$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-detail-structure.json", "name": "RecommendationPreferencesDetail", "description": "Describes a recommendation preference.", "type": "object", "properties": { "scope": { "allOf": [ { "$ref": "#/components/schemas/Scope" }, { "description": "

An object that describes the scope of the recommendation preference.

Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.

" } ] }, "resourceType": { "allOf": [ { "$ref": "#/components/schemas/ResourceType" }, { "description": "

The target resource type of the recommendation preference to create.

The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group.

" } ] }, "enhancedInfrastructureMetrics": { "allOf": [ { "$ref": "#/components/schemas/EnhancedInfrastructureMetrics" }, { "description": "

The status of the enhanced infrastructure metrics recommendation preference.

When the recommendations page is refreshed, a status of Active confirms that the preference is applied to the recommendations, and a status of Inactive confirms that the preference isn't yet applied to recommendations.

For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.

" } ] }, "inferredWorkloadTypes": { "allOf": [ { "$ref": "#/components/schemas/InferredWorkloadTypesPreference" }, { "description": "

The status of the inferred workload types recommendation preference.

When the recommendations page is refreshed, a status of Active confirms that the preference is applied to the recommendations, and a status of Inactive confirms that the preference isn't yet applied to recommendations.

" } ] }, "externalMetricsPreference": { "allOf": [ { "$ref": "#/components/schemas/ExternalMetricsPreference" }, { "description": "

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.

" } ] } } }