SystemResourceLimits

Contains information about system resource limits that the IoT Greengrass Core software applies to a component's processes. For more information, see Configure system resource limits for components.

Edge ComputingIoTLambdaMachine LearningReal-Time Processing

Properties

Name Type Description
memory object
cpus object
View JSON Schema on GitHub

JSON Schema

iot-greengrass-system-resource-limits-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-greengrass/refs/heads/main/json-schema/iot-greengrass-system-resource-limits-schema.json",
  "title": "SystemResourceLimits",
  "description": "Contains information about system resource limits that the IoT Greengrass Core software applies to a component's processes. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-system-resource-limits\">Configure system resource limits for components</a>.",
  "type": "object",
  "properties": {
    "memory": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Memory"
        },
        {
          "description": "The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on the core device."
        }
      ]
    },
    "cpus": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CPU"
        },
        {
          "description": "The maximum amount of CPU time that a component's processes can use on the core device. A core device's total CPU time is equivalent to the device's number of CPU cores. For example, on a core device with 4 CPU cores, you can set this value to <code>2</code> to limit the component's processes to 50 percent usage of each CPU core. On a device with 1 CPU core, you can set this value to <code>0.25</code> to limit the component's processes to 25 percent usage of the CPU. If you set this value to a number greater than the number of CPU cores, the IoT Greengrass Core software doesn't limit the component's CPU usage."
        }
      ]
    }
  }
}