AWS SDK for C++
1.8.127
AWS SDK for C++
|
#include <TargetConfiguration.h>
Public Member Functions | |
TargetConfiguration () | |
TargetConfiguration (Aws::Utils::Json::JsonView jsonValue) | |
TargetConfiguration & | operator= (Aws::Utils::Json::JsonView jsonValue) |
Aws::Utils::Json::JsonValue | Jsonize () const |
double | GetTargetValue () const |
bool | TargetValueHasBeenSet () const |
void | SetTargetValue (double value) |
TargetConfiguration & | WithTargetValue (double value) |
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.
DescribeFleetCapacity
UpdateFleetCapacity
DescribeEC2InstanceLimits
Manage scaling policies:
PutScalingPolicy (auto-scaling)
DescribeScalingPolicies (auto-scaling)
DeleteScalingPolicy (auto-scaling)
Manage fleet actions:
StartFleetActions
StopFleetActions
Definition at line 41 of file TargetConfiguration.h.
Aws::GameLift::Model::TargetConfiguration::TargetConfiguration | ( | ) |
Aws::GameLift::Model::TargetConfiguration::TargetConfiguration | ( | Aws::Utils::Json::JsonView | jsonValue | ) |
|
inline |
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).
Definition at line 57 of file TargetConfiguration.h.
Aws::Utils::Json::JsonValue Aws::GameLift::Model::TargetConfiguration::Jsonize | ( | ) | const |
TargetConfiguration& Aws::GameLift::Model::TargetConfiguration::operator= | ( | Aws::Utils::Json::JsonView | jsonValue | ) |
|
inline |
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).
Definition at line 75 of file TargetConfiguration.h.
|
inline |
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).
Definition at line 66 of file TargetConfiguration.h.
|
inline |
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).
Definition at line 84 of file TargetConfiguration.h.