CmdID / aws / aws gamelift
aws gamelift put-scaling-policy
This API works with the following fleet types: EC2, Container Creates or updates a scaling policy for a fleet. AWS CLI reference
10 options Its page in the AWS CLI reference
Options
--comparison-operatorComparison operator to use when measuring the metric against the threshold value.--evaluation-periodsLength of time (in minutes) the metric must be at or beyond the threshold before a scaling event is triggered.--fleet-idA unique identifier for the fleet to apply this policy to.--metric-nameName of the Amazon GameLift Servers-defined metric that is used to trigger a scaling adjustment.--nameA descriptive label that is associated with a fleet's scaling policy.--policy-typeThe type of scaling policy to create.--scaling-adjustment-typeThe type of adjustment to make to a fleet's instance count: ChangeInCapacity -- add (or subtract) the scaling adjustment value from the current instance count.--scaling-adjustmentAmount of adjustment to make, based on the scaling adjustment type.--target-configurationAn object that contains settings for a target-based scaling policy.--thresholdMetric value used to trigger a scaling event.