Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EC2InstanceCounts

import type { EC2InstanceCounts } from "https://aws-api.deno.dev/v0.3/services/gamelift.ts?docs=full";

Resource capacity settings. Fleet capacity is measured in 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.

EC2 instance counts are part of "FleetCapacity".

interface EC2InstanceCounts {
ACTIVE?: number | null;
DESIRED?: number | null;
IDLE?: number | null;
MAXIMUM?: number | null;
MINIMUM?: number | null;
PENDING?: number | null;
TERMINATING?: number | null;
}

§Properties

§
ACTIVE?: number | null
[src]

Actual number of instances that are ready to host game sessions.

§
DESIRED?: number | null
[src]

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.

§
IDLE?: number | null
[src]

Number of active instances that are not currently hosting a game session.

§
MAXIMUM?: number | null
[src]

The maximum instance count value allowed.

§
MINIMUM?: number | null
[src]

The minimum instance count value allowed.

§
PENDING?: number | null
[src]

Number of instances that are starting but not yet active.

§
TERMINATING?: number | null
[src]

Number of instances that are no longer active but haven't yet been terminated.