|
NAMEPaws::GameLift::ScalingPolicy USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::GameLift::ScalingPolicy object: $service_obj->Method(Att1 => { ComparisonOperator => $value, ..., UpdateStatus => $value });
Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::GameLift::ScalingPolicy object: $result = $service_obj->Method(...); $result->Att1->ComparisonOperator DESCRIPTIONRule that controls how a fleet is scaled. Scaling policies are uniquely identified by the combination of name and fleet ID. Related actions DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions | StartFleetActions | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) ATTRIBUTESComparisonOperator => StrComparison operator to use when measuring a metric against the threshold value. EvaluationPeriods => IntLength of time (in minutes) the metric must be at or beyond the threshold before a scaling event is triggered. FleetArn => StrThe Amazon Resource Name (ARN (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html)) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is "arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912". FleetId => StrA unique identifier for the fleet that is associated with this scaling policy. Location => StrMetricName => StrName 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 (https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html).
Name => StrA descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique. PolicyType => StrThe 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. ScalingAdjustment => IntAmount of adjustment to make, based on the scaling adjustment type. ScalingAdjustmentType => StrThe type of adjustment to make to a fleet's instance count (see FleetCapacity):
Status => StrCurrent status of the scaling policy. The scaling policy can be in force only when in an "ACTIVE" status. Scaling policies can be suspended for individual fleets (see StopFleetActions; if suspended for a fleet, the policy status does not change. View a fleet's stopped actions by calling DescribeFleetCapacity.
TargetConfiguration => Paws::GameLift::TargetConfigurationAn object that contains settings for a target-based scaling policy. Threshold => NumMetric value used to trigger a scaling event. UpdateStatus => StrThe current status of the fleet's scaling policies in a requested fleet location. The status "PENDING_UPDATE" indicates that an update was requested for the fleet but has not yet been completed for the location. SEE ALSOThis class forms part of Paws, describing an object used in Paws::GameLift BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|