{ "$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-service-configuration-structure.json", "name": "ServiceConfiguration", "description": " The Amazon ECS service configurations used for recommendations. ", "type": "object", "properties": { "memory": { "allOf": [ { "$ref": "#/components/schemas/NullableMemory" }, { "description": " The amount of memory used by the tasks in the Amazon ECS service. " } ] }, "cpu": { "allOf": [ { "$ref": "#/components/schemas/NullableCpu" }, { "description": " The number of CPU units used by the tasks in the Amazon ECS service. " } ] }, "containerConfigurations": { "allOf": [ { "$ref": "#/components/schemas/ContainerConfigurations" }, { "description": " The container configurations within a task of an Amazon ECS service. " } ] }, "autoScalingConfiguration": { "allOf": [ { "$ref": "#/components/schemas/AutoScalingConfiguration" }, { "description": "
Describes the Auto Scaling configuration methods for an Amazon ECS service. This affects the generated recommendations. For example, if Auto Scaling is configured on a service\u2019s CPU, then Compute Optimizer doesn\u2019t generate CPU size recommendations.
The Auto Scaling configuration methods include:
TARGET_TRACKING_SCALING_CPU \u2014 If the Amazon ECS service is configured to use target scaling on CPU, Compute Optimizer doesn't generate CPU recommendations.
TARGET_TRACKING_SCALING_MEMORY \u2014 If the Amazon ECS service is configured to use target scaling on memory, Compute Optimizer doesn't generate memory recommendations.
For more information about step scaling and target scaling, see Step scaling policies for Application Auto Scaling and Target tracking scaling policies for Application Auto Scaling in the Application Auto Scaling User Guide.
" } ] }, "taskDefinitionArn": { "allOf": [ { "$ref": "#/components/schemas/TaskDefinitionArn" }, { "description": " The task definition ARN used by the tasks in the Amazon ECS service. " } ] } } }