Amazon GameLift · JSON Structure

Gamelift Ec2 Instance Counts Structure

Resource capacity settings. Fleet capacity is measured in Amazon EC2 instances. Pending and terminating counts are non-zero when the fleet capacity is adjusting to a scaling event or if access to resources is temporarily affected.

Type: object Properties: 7
Cloud ComputingGame ServersGamingMultiplayerMatchmakingFlexMatchFleetIQ

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

Properties

DESIRED MINIMUM MAXIMUM PENDING ACTIVE IDLE TERMINATING

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-gamelift/refs/heads/main/json-structure/gamelift-ec2-instance-counts-structure.json",
  "name": "EC2InstanceCounts",
  "description": "Resource capacity settings. Fleet capacity is measured in Amazon EC2 instances. Pending and terminating counts are non-zero when the fleet capacity is adjusting to a scaling event or if access to resources is temporarily affected.",
  "type": "object",
  "properties": {
    "DESIRED": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WholeNumber"
        },
        {
          "description": "Ideal number of active instances. GameLift will always try to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances. "
        }
      ]
    },
    "MINIMUM": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WholeNumber"
        },
        {
          "description": "The minimum instance count value allowed."
        }
      ]
    },
    "MAXIMUM": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WholeNumber"
        },
        {
          "description": "The maximum instance count value allowed."
        }
      ]
    },
    "PENDING": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WholeNumber"
        },
        {
          "description": "Number of instances that are starting but not yet active."
        }
      ]
    },
    "ACTIVE": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WholeNumber"
        },
        {
          "description": "Actual number of instances that are ready to host game sessions."
        }
      ]
    },
    "IDLE": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WholeNumber"
        },
        {
          "description": "Number of active instances that are not currently hosting a game session."
        }
      ]
    },
    "TERMINATING": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WholeNumber"
        },
        {
          "description": "Number of instances that are no longer active but haven't yet been terminated."
        }
      ]
    }
  }
}