Builder

class Builder

Properties

Link copied to clipboard

Comparison operator to use when measuring the metric against the threshold value.

Link copied to clipboard

Length of time (in minutes) the metric must be at or beyond the threshold before a scaling event is triggered.

Link copied to clipboard

A unique identifier for the fleet to apply this policy to. You can use either the fleet ID or ARN value. The fleet cannot be in any of the following statuses: ERROR or DELETING.

Link copied to clipboard

Name of the Amazon GameLift-defined metric that is used to trigger a scaling adjustment. For detailed descriptions of fleet metrics, see Monitor Amazon GameLift with Amazon CloudWatch.

Link copied to clipboard
var name: String?

A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique. A fleet can have only one scaling policy with the same name.

Link copied to clipboard

The type of scaling policy to create. For a target-based policy, set the parameter MetricName to 'PercentAvailableGameSessions' and specify a TargetConfiguration. For a rule-based policy set the following parameters: MetricName, ComparisonOperator, Threshold, EvaluationPeriods, ScalingAdjustmentType, and ScalingAdjustment.

Link copied to clipboard

Amount of adjustment to make, based on the scaling adjustment type.

Link copied to clipboard

The type of adjustment to make to a fleet's instance count:

Link copied to clipboard

An object that contains settings for a target-based scaling policy.

Link copied to clipboard

Metric value used to trigger a scaling event.

Functions