Amazon Compute Optimizer · JSON Structure

Compute Optimizer Container Recommendation Structure

The CPU and memory recommendations for a container within the tasks of your Amazon ECS service.

Type: object Properties: 3
Cost OptimizationFinOpsMachine LearningResource Recommendations

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

Properties

containerName memorySizeConfiguration cpu

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-container-recommendation-structure.json",
  "name": "ContainerRecommendation",
  "description": " The CPU and memory recommendations for a container within the tasks of your Amazon ECS service. ",
  "type": "object",
  "properties": {
    "containerName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ContainerName"
        },
        {
          "description": " The name of the container. "
        }
      ]
    },
    "memorySizeConfiguration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MemorySizeConfiguration"
        },
        {
          "description": " The recommended memory size configurations for the container. "
        }
      ]
    },
    "cpu": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NullableCpu"
        },
        {
          "description": " The recommended number of CPU units reserved for the container. "
        }
      ]
    }
  }
}