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

InstanceDefinition

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

This data type is used with the GameLift FleetIQ and game server groups.

An allowed instance type for a "GameServerGroup". All game server groups must have at least two instance types defined for it. GameLift FleetIQ periodically evaluates each defined instance type for viability. It then updates the Auto Scaling group with the list of viable instance types.

interface InstanceDefinition {
WeightedCapacity?: string | null;
}

§Properties

§

An EC2 instance type designation.

§
WeightedCapacity?: string | null
[src]

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon EC2 Auto Scaling User Guide. Default value is "1".