{ "$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-ecs-service-recommendation-structure.json", "name": "ECSServiceRecommendation", "description": " Describes an Amazon ECS service recommendation. ", "type": "object", "properties": { "serviceArn": { "allOf": [ { "$ref": "#/components/schemas/ServiceArn" }, { "description": "

The Amazon Resource Name (ARN) of the current Amazon ECS service.

The following is the format of the ARN:

arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name

" } ] }, "accountId": { "allOf": [ { "$ref": "#/components/schemas/AccountId" }, { "description": " The Amazon Web Services account ID of the Amazon ECS service. " } ] }, "currentServiceConfiguration": { "allOf": [ { "$ref": "#/components/schemas/ServiceConfiguration" }, { "description": " The configuration of the current Amazon ECS service. " } ] }, "utilizationMetrics": { "allOf": [ { "$ref": "#/components/schemas/ECSServiceUtilizationMetrics" }, { "description": " An array of objects that describe the utilization metrics of the Amazon ECS service. " } ] }, "lookbackPeriodInDays": { "allOf": [ { "$ref": "#/components/schemas/LookBackPeriodInDays" }, { "description": " The number of days the Amazon ECS service utilization metrics were analyzed. " } ] }, "launchType": { "allOf": [ { "$ref": "#/components/schemas/ECSServiceLaunchType" }, { "description": "

The launch type the Amazon ECS service is using.

Compute Optimizer only supports the Fargate launch type.

" } ] }, "lastRefreshTimestamp": { "allOf": [ { "$ref": "#/components/schemas/LastRefreshTimestamp" }, { "description": " The timestamp of when the Amazon ECS service recommendation was last generated. " } ] }, "finding": { "allOf": [ { "$ref": "#/components/schemas/ECSServiceRecommendationFinding" }, { "description": "

The finding classification of an Amazon ECS service.

Findings for Amazon ECS services include:

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

The reason for the finding classification of an Amazon ECS service.

Finding reason codes for Amazon ECS services include:

" } ] }, "serviceRecommendationOptions": { "allOf": [ { "$ref": "#/components/schemas/ECSServiceRecommendationOptions" }, { "description": " An array of objects that describe the recommendation options for the Amazon ECS service. " } ] }, "currentPerformanceRisk": { "allOf": [ { "$ref": "#/components/schemas/CurrentPerformanceRisk" }, { "description": " The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload. " } ] }, "tags": { "allOf": [ { "$ref": "#/components/schemas/Tags" }, { "description": " A list of tags assigned to your Amazon ECS service recommendations. " } ] } } }