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

TargetConfiguration

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

Settings for a target-based scaling policy (see "ScalingPolicy". A target-based policy tracks a particular fleet metric specifies a target value for the metric. As player usage changes, the policy triggers Amazon GameLift to adjust capacity so that the metric returns to the target value. The target configuration specifies settings as needed for the target based policy, including the target value.

Related actions

"DescribeFleetCapacity" | "UpdateFleetCapacity" | "DescribeEC2InstanceLimits" | "PutScalingPolicy" | "DescribeScalingPolicies" | "DeleteScalingPolicy" | "StopFleetActions" | "StartFleetActions" | All APIs by task

interface TargetConfiguration {
TargetValue: number;
}

§Properties

§
TargetValue: number
[src]

Desired value to use with a target-based scaling policy. The value must be relevant for whatever metric the scaling policy is using. For example, in a policy using the metric PercentAvailableGameSessions, the target value should be the preferred size of the fleet's buffer (the percent of capacity that should be idle and ready for new game sessions).