Class: Aws::GameLift::Types::TargetConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::TargetConfiguration
- Defined in:
- gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb
Overview
When making an API call, you may pass TargetConfiguration data as a hash:
{
target_value: 1.0, # required
}
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
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#target_value ⇒ Float
Desired value to use with a target-based scaling policy.
Instance Attribute Details
#target_value ⇒ Float
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).
9331 9332 9333 9334 9335 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 9331 class TargetConfiguration < Struct.new( :target_value) SENSITIVE = [] include Aws::Structure end |