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.
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.
{
"$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."
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.